ExamPlay Dark Logo
Вход

Computer Science for IGCSE & O level - Programming (Section 10 - No. 12)

What is the key characteristic of a post-condition loop?
The condition is checked before each iteration.
The loop body is guaranteed to execute at least once.
The loop may not execute at all.
It is also known as a pre-condition loop.

Обяснение

Because the condition is checked *after* the loop body, the body always executes at least once.

Коментари (0)

Влезте, за да коментирате
Реклама
BrainBehindX Inc Logo
©2026; Осъществено от BrainBehindX Inc