Multiple Choice
Consider the following code. (Assume that all variables are properly declared.) This code is an example of a(n) ____ while loop.
A) sentinel-controlled
B) flag-controlled
C) EOF-controlled
D) counter-controlled
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: The number of iterations of a counter-controlled
Q6: To generate a random number, you can
Q14: Which of the following loops does not
Q21: The _ statement is typically used for
Q22: Suppose j, sum, and num are int
Q26: In the case of the sentinel-controlled while
Q26: Assume all variables are properly declared. The
Q30: What is the output of the following
Q32: In a sentinel-controlled while loop, the body
Q36: Which of the following is a repetition