Computer Science for IGCSE & O level - Programming (Section 12 - No. 34)

What type of loop is illustrated by the following code snippet? ``` REPEAT Statement(s) UNTIL condition ```
Count-controlled loop
Pre-condition loop
Post-condition loop
Nested loop

Explanation

This is a post-condition loop since the condition is checked *after* the statements are executed.

Comments (0)

Advertisement