Multiple Choice
What is the output of the following code snippet?
Int i = 1;
While (i < 20)
{
System.out.print(i + " ") ;
I = i + 2;
If (i == 15)
{
I = 19;
}
}
A) 1 3 5 7 9 11 13 15 17 19
B) 1 3 5 7 9 11 13 19
C) 1 3 5 7 9 11 13 15 17
D) 1 3 5 7 9 11 13 17 19
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q63: What for loop can be used in
Q64: When hand-tracing the loop in the code
Q65: For which input values will the following
Q66: What is the output of the following
Q67: What is the output of the code
Q69: Suppose that a program asks a user
Q70: What is the output of this code
Q71: What changes do you need to make
Q72: What is the output of the following
Q73: Which statement is correct about the execution