Multiple Choice
Which of the following loop(s) should be used when you need to ask a user to enter one data item and repeat the prompt if the data is invalid?
I. for loop
II. while loop
III. do loop
A) I only
B) I and II
C) III only
D) II only
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q114: What is the output of the code
Q115: What are the values of i and
Q116: Insert a statement that will correctly terminate
Q117: Which of the following conditions can be
Q118: What will be the final output of
Q120: How many times will the output line
Q121: What is the output of the code
Q122: What is the output of the code
Q123: Which loop does not check a condition
Q124: How many times does the following code