0
Why is this Code not working
I'm working on a simple code (new to c++) and it gives me a compilatilon error. Where is my mistake? https://code.sololearn.com/ce98EmzoyJkv/?ref=app
5 Réponses
+ 3
Try moving the int sum = x+y line below the cin lines
also the cout line should be << instead of >>
+ 2
Implementing what Sam said.
https://code.sololearn.com/c7pLfU2zkvb6/?ref=app
+ 2
thx guys
+ 1
you are welcome.
+ 1
yeah cuz before it was so
ething like 0+0=0 print 0