Computer Science for IGCSE & O level - Programming (Section 11 - No. 40)

What kind of loop structure begins by checking the condition *before* executing the code block?
Post-condition loop
Pre-condition loop
Count-controlled loop
Nested loop

Explanation

In a pre-condition loop, the condition is tested before any code in the loop is executed, so the code might not run at all.

Comments (0)

Advertisement