Social Sciences, asked by pradhanashmitapbzvdp, 1 year ago

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 arkamanna00026
0
this is not the question of social science.
Similar questions