0

What is the correct order of given code? Its output is 10.

{ int a=7; int b=3; cout<<a+b-a*b/a%b; }

26th Mar 2019, 10:36 AM
~DauntlesS~
~DauntlesS~ - avatar
2 Antworten
+ 3
a+b-(a*b/a%b)
26th Mar 2019, 11:05 AM
Chiara Mele
Chiara Mele - avatar
0
26th Mar 2019, 11:17 AM
~DauntlesS~
~DauntlesS~ - avatar