Computer Science for IGCSE & O level - Programming (Section 12 - No. 4)
What is a characteristic feature of a pre-condition loop?
The loop body always runs at least once.
The condition is checked before each iteration.
The condition is checked after each iteration.
It is also known as a do-while loop.
Explanation
The condition is checked before the loop body is executed to ensure that the body only executes when the condition is met.
Comments (0)
