What will be printed by the statements below?
Int a = 10;
While (a > 5)
{
System.out.print (a + " ") ;
A = a - 2;
}
A) 10 9 8 7 6 5
B) 10 8 6 4
C) 10 8 6
D) 10 8
Correct Answer:
Verified
Q49: What will be printed by the statements
Q50: What will be printed by the statements
Q51: What is the output of the code
Q52: What does the following loop compute? Scanner
Q53: How many times does the following loop
Q55: What will be printed by the statements
Q55: Which of the following for loops is
Q56: Which of the following conditions can be
Q57: Which of the following is considered a
Q58: Which of the following loops will print
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents