Multiple Choice
Which of the following 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.the for loop
II.the while loop
III.the do loop
A) I only
B) I and II
C) III only
D) II only
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q43: What for loop can be used in
Q44: What is the output of the following
Q45: How many times will the following loop
Q46: Is the following code snippet legal? <img
Q47: Consider the following loop: <br>int n=1;<br>double x=0;<br>double
Q49: What is the output of the following
Q50: How many times does the code snippet
Q51: Given the following code snippet, what should
Q52: How many times does the loop execute
Q53: What is the output of the code