Multiple Choice
What is the result when the following code is run? double x = 1;
Double y = 1;
Int i = 0;
Do
{
Y = x / 2;
X = x + y;
I = i + 1;
}
While (x < 2.5) ;
System.out.print(i + " ") ;
A) 1
B) 2
C) 3
D) 4
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q72: Which of the following for loops is
Q81: What is the output of the following
Q82: How many times does the following code
Q83: What will be printed by the statements
Q84: What is the last output line of
Q85: What is the data type of the
Q87: What is the output of the code
Q89: When hand tracing, drawing a line through
Q90: What is the output of the code
Q91: Which of the following loops will print