Multiple Choice
What will be the value of x after the following code is executed? int x = 10, y = 20;
While (y < 100)
{
X += y;
}
A) 90
B) 110
C) 210
D) This is an infinite loop
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: Which of the following are pre-test loops?<br>A)
Q37: What will be the value of x
Q39: How many times will the following do-while
Q40: This type of loop allows the user
Q42: A file must always be opened before
Q43: Before entering a loop to compute a
Q45: This is a sum of numbers that
Q46: Assume that inputFile references a Scanner object
Q54: What will be the value of x
Q55: The while loop has two important parts: