Case 6-1
Chris is trying to decide which kind of loop is the best loop for him to use to solve a couple of different programming challenges that he faces.
Chris knows the exact number of repetitions he needs the loop to execute. Which of the following is the best choice for him?
A. top-controlled Do While
B. bottom-controlled Do Until
C. bottom-controlled Do While
D. For…Next
Answer: D
Computer Science & Information Technology