Closed Nalini1998 closed 1 year ago
Which statement is true about while loops?
A. while loops evaluate a condition for however long it’s true and the looping stops when the condition is false.
while
B. while loops will run at least once, then will run again if their condition is true.
C. while loops always loop over a code block a known amount of times.
D. while loops only run while the condition is false.
I chose A. while loops evaluate a condition for however long it’s true and the looping stops when the condition is false.
Which statement is true about while loops?
A.
while
loops evaluate a condition for however long it’s true and the looping stops when the condition is false.B.
while
loops will run at least once, then will run again if their condition is true.C.
while
loops always loop over a code block a known amount of times.D.
while
loops only run while the condition is false.