Computer Science, asked by kraghaver, 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 zaid74
3
(a+" "+b) this will be printed
Answered by ayushph
5

(20<30) {a=60;} if(30<60) {31;) else(59;) System. out. println(59" "+31) ;

Similar questions