ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 9 - No. 29)

When should you employ a `WHILE...DO...ENDWHILE` loop?
When the code should always run once.
When you have a known number of iterations.
When the repetition depends on a specific condition.
When you need to choose one of many options.

Giải thích

Use WHILE when the number of iterations is unknown but the action should be repeated until a certain condition is met.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc