filmov
tv
Java Practice-it | Primitive Data and Definite Loops | Self-Check 2.16 : valuesOfIJK
Показать описание
Topics:
basics, mystery, variables
Question:
What are the values of i, j, and k after the following code statements?
int i = 2;
int j = 3;
int k = 4;
int x = i + j + k;
i = x - i - j;
j = x - j - k;
k = x - i - k;
Problem:
basics, mystery, variables
Question:
What are the values of i, j, and k after the following code statements?
int i = 2;
int j = 3;
int k = 4;
int x = i + j + k;
i = x - i - j;
j = x - j - k;
k = x - i - k;
Problem: