Добавить
Уведомления

Java Practice-it | Primitive Data and Definite Loops | Self-Check 2.17 : maxMin

Topics: basics, mystery, println, variables Question: What is the output from the following code? int max; int min = 10; max = 17 - 4 / 10; max = max + 6; min = max - min; System.out.println(max * 2); System.out.println(max + min); System.out.println(max); System.out.println(min); Problem: https://practiceit.cs.washington.edu/problem/view/bjp5/chapter2/s17-maxMin

12+
20 просмотров
2 года назад
12+
20 просмотров
2 года назад

Topics: basics, mystery, println, variables Question: What is the output from the following code? int max; int min = 10; max = 17 - 4 / 10; max = max + 6; min = max - min; System.out.println(max * 2); System.out.println(max + min); System.out.println(max); System.out.println(min); Problem: https://practiceit.cs.washington.edu/problem/view/bjp5/chapter2/s17-maxMin

, чтобы оставлять комментарии