Multiple Choice
What is the output of this loop?
Int i = 0;
Boolean found;
While (i < 20 && !found)
{
Int sum = i * 2 + i * 3;
System.out.print(sum + " ") ;
If (sum > 50)
{
Found = true;
}
I++;
}
A) 0 5 10 15 20 25 30 35 40 45 50 55
B) 0
C) No output, compilation error
D) 0 5 10
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q99: What is the output of the code
Q100: How many times does the loop execute
Q101: When will the loop in the following
Q102: What is the output of the code
Q103: What does the following code snippet display?
Q105: Which of the following loops will print
Q106: How many times does the following loop
Q107: Which statement about storyboards is true?<br>A)A storyboard
Q108: Which of the following is correct for
Q109: How many times does the following loop