Computer Science, asked by anadi1902, 8 months ago

e) What will be the result of following program segment?
int a=5,b=10;
if(a>5)
if(b>10)
System.out.print("b is”+b);
else
System.out.print("a is”+a);​

Answers

Answered by ylodha543
0

Answer:

sorry, but it's an invalid question. the values of a and b either needs to be decreased or increased. then only the program will show a desired output

Similar questions