Multiple choice

Which loop executes a sequence of statements multiple times and abbreviates the code that manages the loop variable?

  1. Do...while loop

  2. For loop

  3. While loop

  4. Nested loop

  5. If statement

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

For loop executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.