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

What is the key feature of the `REPEAT...UNTIL` loop structure?
The condition is checked at the beginning of the loop.
The loop always runs at least once.
The loop increments a counter automatically.
The loop runs a fixed number of times.

Explanation

The REPEAT...UNTIL loop executes the loop body at least once before checking the condition, ensuring the loop runs at least once.

Comments (0)

Advertisement