Multiple Choice
How many times is the body of the loop below executed?
Int counter = 1;
While (counter > 20)
{
// body of loop
Counter = counter - 1;
} // end while
A) 19.
B) 20.
C) 21.
D) 0.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: Sentinel-controlled repetition is also known as:<br>A)Definite repetition.<br>B)Indefinite
Q5: What does the expression x %= 10
Q6: Which of the following would not be
Q9: In Java graphics,coordinate units are measured in
Q12: What is output by the following Java
Q13: Counter-controlled repetition is also known as:<br>A)Definite repetition<br>B)Indefinite
Q18: Which of the following is not an
Q24: Which of the following is the shape
Q29: Which of the following is not a
Q31: Which of the following is not a