Skip to content
Sign in
Pak Study

Which loop is used to retrieve the first true condition and then stops?

Tap an option to check the answer. You can also press A–D.

Explanation
An if statement checks a condition and executes once if it is true. It does not loop repeatedly, unlike for, while, or do-while loops. It effectively stops after the first true condition is evaluated.