I'm not understanding this {for(i=1;i>=0;i++)} | Sololearn: Learn to code for FREE!
+ 1

I'm not understanding this {for(i=1;i>=0;i++)}

26th Nov 2017, 4:52 PM
Ricky
3 odpowiedzi
+ 3
you should look at it like this... i equals 1; if 1 is greater or equal too 0 ; use value of i and then increment by 1
26th Nov 2017, 4:58 PM
D_Stark
D_Stark - avatar
0
its a loop!..it'll run continuously as far as (I>=0) I is greater than or equal to zero...an it will increase by one after the if the compiler checks that I>=0...so its a loop my friend
26th Nov 2017, 4:56 PM
Android Boi
Android Boi - avatar
0
if u have any question just ask
26th Nov 2017, 4:56 PM
Android Boi
Android Boi - avatar