0

What are the values of i j and k?

What are the values of i, j, and k after the following statements? int i = 2; int j = 7; int k = 4; int x = i + j - k; i = j - k + i; i = _______ j = x - i + j; j = _______ k = j + x -1; k =_______

15th Mar 2017, 8:57 AM
que Harris
que Harris - avatar
1 Odpowiedź
+ 3
i=5. j= 7. k= 11. Just did it in my head though could be wrong.
15th Mar 2017, 6:35 PM
Rrestoring faith
Rrestoring faith - avatar