+ 1

Hey everybody, could somebody explain why output is 12 here

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

16th Nov 2020, 11:56 AM
Phidan Makhmudova
2 Answers
+ 1
First loop: i = 0 i = 0*0; i+=3; i is 3; 3 < 5(true) Second loop: i = 3 i = 3*3; i+=3; i is 12; 12<5(false) Loop ends.
16th Nov 2020, 12:25 PM
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż - avatar