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: Which of the following segments is a
Q6: Which statement is false?<br>A)Both syntax errors and
Q9: What is output by the following Java
Q10: What is output by the following Java
Q11: Which of the following operators associates from
Q27: Which of the following is true?<br>A) Pseudocode
Q33: Which of the following is not a
Q34: The empty statement is denoted by what
Q35: Which of the following is a double-selection