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
Q39: What will be the values of x
Q40: A(n) _ is a special value that
Q41: Which of the following statements opens a
Q42: A file must always be opened before
Q43: What will be the value of x
Q45: When you pass the name of a
Q46: Which is a control structure that causes
Q47: Assume that inputFile references a Scanner object
Q48: A loop that executes as long as
Q49: What will be the value of x