+ 3
it's 6!
25th Jun 2017, 2:55 PM
Limitless
Limitless - avatar
+ 3
6
25th Jun 2017, 5:27 PM
Jordan Chapman
Jordan Chapman - avatar
+ 2
x=0 while(x<6 ){ // 0<6 its true code keep going x++; //x=x+1=0+1=1 } x=1 while(x<6 ){ // 1<6 true x++; //x=1+1=2 } x=2 while(x<6 ){ // 2<6 true x++; //x=2+1=3 } x=3 while(x<6 ){ // 3<6 true x++; //x=3+1=4 } x=4 while(x<6 ){ // 4<6 true x++; //x=4+1=5 } x=5 while(x<6 ){ // 5<6 true x++; //x=1+1=6 } //now 6<6 false code stop //6 is equal to 6 to be true
25th Jun 2017, 3:44 PM
Elie Douaihy
Elie Douaihy - avatar