Computer Science, asked by kshitijcloudline, 4 months ago

Give output in tabular form
int a = 10, b = 12;
if(a >= 10) a++;
else
++b;
System.out.println("a = " + a + " and b = " + b);

Answers

Answered by riddhilahiri04
0

Answer:

a = 11 and b = 12

well.....since the if condition satisfies, a becomes 10+1 = 11, and is as it is...

pls mark as brainliest!!

Similar questions