+ 1

Im a bit counfused. It is said that c++ does not care for spaces but the space between int sum= x+y made a major difference.

https://code.sololearn.com/cUiIFUw30yir/?ref=app

27th Dec 2018, 7:29 PM
Jeremy Cruz
Jeremy Cruz - avatar
3 Antworten
+ 2
I do not see any difference...
27th Dec 2018, 7:38 PM
Игорь Яковенко
Игорь Яковенко - avatar
0
When you run the program without the space, you get the sum but add the space and you get no output.
27th Dec 2018, 7:52 PM
Jeremy Cruz
Jeremy Cruz - avatar
0
So there's something wrong on my end
27th Dec 2018, 7:54 PM
Jeremy Cruz
Jeremy Cruz - avatar