What will be the value of x after the following code is executed?

int x = 10, y = 20;
while (y < 100)
{
x += y;
y += 20;
}


A. 90
B. 110
C. 130
D. 210



Answer :

Other Questions