Multiple Choice
Which of the following will count down from 10 to 1 correctly?
A) for (int j = 10; j <= 1; j++)
B) for (int j = 1; j <= 10; j++)
C) for (int j = 10; j > 1; j--)
D) for (int j = 10; j >= 1; j--)
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
Q24: The control variable of a counter-controlled loop
Q25: Boolean values can be displayed as the