+ 1

Could someone explain the cause of this output?

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

18th Apr 2020, 4:48 AM
Dipra Irham
Dipra Irham - avatar
2 Answers
+ 1
If the code is kept like this why the output is 9?
18th Apr 2020, 8:39 AM
Dipra Irham
Dipra Irham - avatar
0
remove the semicolon behind „while“
18th Apr 2020, 6:56 AM
Michael
Michael - avatar