+ 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
1 Antwort
+ 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