Computer Science for IGCSE & O level - Programming (Section 11 - No. 38)
Which statement is true about the provided example of a Pre-condition loop?
It always executes once.
The loop may not execute at all.
The condition is checked after the loop body.
It's a type of a post-condition loop.
Explanation
Pre-condition loops check the condition *before* execution so the loop may not execute.
Comments (0)
