Advertisements
Advertisements
Question
The while statement repeats the execution of a block only when the given condition is:
Options
False
True
1
0
MCQ
Solution
True
Explanation:
The while loop in programming continues running its block of code as long as the condition is true. The loop ends when the condition is no longer true.
shaalaa.com
Is there an error in this question or solution?