Closed Nalini1998 closed 1 year ago
You want to run a code block at least once, then loop as long as a condition remains true. Which kind of loop would you use?
A. A nested for loop
B. A while statement
C. A do...while statement
D. A for statement
I chose C. A do...while statement
You want to run a code block at least once, then loop as long as a condition remains true. Which kind of loop would you use?
A. A nested for loop
B. A while statement
C. A do...while statement
D. A for statement