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

Which loop type guarantees that the loop body will execute at least once?
FOR...NEXT
WHILE...DO...ENDWHILE
REPEAT...UNTIL
None of the above.

Explanation

REPEAT...UNTIL always executes at least once.

Comments (0)

Advertisement