Challenge for While and For Loops


When the following loop terminates, what will num equal?

int num = 0;
while(num < 10){  // loop condition
  num = num + 3;  //loop body

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]