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 38db66e

Browse files
Enhance output with '==>' for sum display
Added output formatting to display the sum result.
1 parent f305fc1 commit 38db66e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎A_B_Again_1999_A.cpp‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ int main()
99
int n;
1010
cin >> n;
1111
int sum = (n / 10) + (n % 10);
12-
cout << sum << endl;
12+
// ==>
13+
cout << " ==> "<<sum << endl;
1314
}
1415

1516
return 0;
1617
}
18+

0 commit comments

Comments
(0)

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