Computer Science for IGCSE & O level - Programming (Section 14 - No. 6)

What is a characteristic of a pre-condition loop?
The loop body is executed at least once.
The condition is checked *after* each iteration.
The condition is checked *before* each iteration.
It is also known as a do-while loop.

Explanation

In a pre-condition loop (like WHILE), the condition is checked before execution.

Comments (0)

Advertisement