Solved

What Will Be the Value Inside the Variables X and Y

Question 9

Multiple Choice

What will be the value inside the variables x and y after the given set of assignments?
Int x = 20;
Int y = 10;
X = (x - y) * 2;
Y = x / 2;


A) x = 40, y = 20
B) x = 20, y = 10
C) x = 10, y = 20
D) x = 20, y = 20

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions