Exercise 12.1 Create a table which displays the values of the variables x and y after each of the following statements, assuming the statements are executed in the order shown.
(a)
x = 40; // line 1 y = 55; // line 2 x = y; // line 3 /** -------------------------------------- */
(b)
x = 25; // line 1 y = 40; // line 2 x = x + 20; // line 3 y = x - 10; // line 4 /** -------------------------------------- */
(c)
x = 25; // line 1 y = 40; // line 2 y = x - 10; // line 3 x = x + 20; // line 4 /** -------------------------------------- */
(d)
x = 15; // line 1 y = 20; // line 2 x = x + y; // line 3 /** -------------------------------------- */
(e)
x = 55; // line 1 y = 99; // line 2 x = x + y; // line 3 y = x - y; // line 4 x = x - y; // line 5 /** -------------------------------------- */