0

Some please explain whats happens in betweem the loops?

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

17th Dec 2019, 8:08 AM
Harishbabu Rengaraj
Harishbabu Rengaraj - avatar
2 odpowiedzi
+ 3
Dude just make print as println where you print the sum variable and remove the last line of S.o.pln(); You will understand the rest. Edit: It just prints from 1 to 10.
17th Dec 2019, 8:24 AM
Avinesh
Avinesh - avatar
0
No bro...i need output like what i commented after the code.
18th Dec 2019, 2:50 AM
Harishbabu Rengaraj
Harishbabu Rengaraj - avatar