Multiple Choice
If you want a user to enter exactly 20 values, which loop would be the best to use?
A) while
B) for
C) switch
D) do-while
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q36: If you place a semicolon after the
Q37: How many times will the following loop
Q38: A statement that causes a loop to
Q39: You may nest while and do-while loops
Q40: What will the following code display?<br>int number
Q42: To write read data from a file,
Q43: A while loop is somewhat limited because
Q44: Something within a while loop must eventually
Q45: You may define a _ in the
Q46: Assuming dataFile is a file stream object,