What is printed by the following piece of code?
int a = 10;
int b = 30;
if (a * 2 < b) {
a = a * 3;
}
if (b < a) {
b++;
} else {
a--;
}
System.out.println(a + " " + b);
Answers
Answered by
0
this is not the question of social science.
Similar questions
Environmental Sciences,
8 months ago
History,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago