What will be printed by the statements below?
Int a = 10;
While (a > 5)
{
A = a - 2;
System.out.print (a + " ") ;
}
A) 10 8 6
B) 10 8 6 4
C) 8 6
D) 8 6 4
Correct Answer:
Verified
Q45: Which statement about this code snippet is
Q46: What is the output of the following
Q47: What will be printed by the statements
Q48: Which of the following loops will print
Q49: 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
Q54: What will be printed by the statements
Q55: What will be printed by the statements
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