Multiple Choice
The control variable of a counter-controlled loop should be declared as ________to prevent errors.
A) int.
B) float.
C) double.
D) Any of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q16: Which of the following is equivalent to
Q17: Which expression is equivalent to if (!(grade
Q18: For the two code segments below: <br>Segment
Q19: Counter-controlled iteration requires<br>A) A control variable and
Q20: Which of the following statements about the
Q21: To exit out of a loop completely,
Q22: Which of the following statements about the
Q23: Which statement below is false?<br>A) Structured programming
Q25: Boolean values can be displayed as the
Q26: Which of the following will count down