Multiple choice

How does a WHILE loop start?

  1. while (i <= 10)

  2. while (i <= 10; i++)

  3. while i = 1 to 10

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A while loop only requires a condition in parentheses to execute as long as that condition is true.