Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 1 - No. 47)

What control structure would you use to repeatedly execute a block of code as long as a condition is true?
IF...THEN...ELSE
FOR...TO...NEXT
WHILE...DO...ENDWHILE
CASE...OF...OTHERWISE

Explanation

The WHILE loop continues execution while the specified condition evaluates to true.

Comments (0)

Advertisement