Question #348670

What is the output of the following code?


int x = 100;


int y = 200;



if (x > 100 && y <= 200)


System.out.println(x + “ “ + y + “ “ + (x + y));


else


System.out.println(x + “ “ + y + “ “ + (2 * x - y));

Expert's answer

100 200 0


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS