Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 4 - No. 10)
Which of the following loop types is a 'post-condition' loop?
FOR...TO...NEXT
WHILE...DO...ENDWHILE
REPEAT...UNTIL
IF...THEN...ELSE
Explanation
In a REPEAT...UNTIL loop, the condition is checked *after* the loop's body is executed.
Comments (0)
