Question
Which situation is best suited to a `while` loop?
Select an option. Your answer will be checked instantly.
Correct Answer: B. Repeat an operation until a convergence condition becomes false
Explanation:
A `while` loop continues as long as its condition remains true. It is useful when the number of iterations is not known in advance.
Leave a Reply