Answered! Suppose x, y, z and w are int variables. Assume each statement line is executed in succession, one after the other,…

Suppose x, y, z and w are int variables. Assume each statement line is executed in succession, one after the other, what value is assigned to each of those variables AFTER the last statement is executed? Only one answer for each variable please.

x=15; y=18;

z=x-5/x;

x=z-y;

y=x+2*z;

w=z-y+2*z;

w++;

z=2*y+w-z;

Expert Answer

Still stressed from student homework?
Get quality assistance from academic writers!