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 =_______
1 Answer
+ 3
i=5. j= 7. k= 11.
Just did it in my head though could be wrong.