Computer Science, asked by skushagra, 1 year ago

What will be the output when:
a)Val=500
b)Val=1500
int Val,sum,n=550;
sum=n+Val>1750?400:200;
System.out.println(sum);


please mention reasons and working

Answers

Answered by vinay246
2
Answer is B. 1500 hope it will help you
Similar questions