Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit acfc0c7

Browse files
Create Restricted Explanation.txt
1 parent 1ada45c commit acfc0c7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#include <iostream>
2+
3+
using namespace std;
4+
5+
int main()
6+
{
7+
int A, B;
8+
cin >> A >> B;
9+
10+
int sum = A + B;
11+
if(sum < 10)
12+
{
13+
cout << sum << "\n";
14+
}
15+
else
16+
{
17+
cout << "error\n";
18+
}
19+
return 0;
20+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /