Challenge for While and For Loops
Challenge
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.