What output will be displayed as a result of executing the following code? int x = 5, y = 20; x += 32; y /= 4; System.out.printl
n("x = " + x + ", y = " + y);
1 answer:
Answer: x = 37,y=5
Step-by-step explanation:
from the initial x is 5 and y is 20
but now the values are updated:
x+=32
x=x+32
x=5+32
x=37
so now x is 37
y/=4
y=y/4
y=20/4
y=5
so now y is 5
the out put will be:
x = 37,y=5
You might be interested in
20. qr is congruent to pn so pn is 20
2x-14=4
+14 +14
2x=18
— —
2 2
x=9
The solution would be x = 0, x = 3
Answer:
that other person is right
9 2/3 - 2 8/10 = 16 13/15