Computer Science, asked by dashingboyoh, 8 months ago

Find the output of the following program segment, when: [2]

(i)val=1600

int val, sum, n= 550;

sum= n+val>1750?400:200;

System.out.println(sum);​

Answers

Answered by sairohanmadamshetty
6

Answer:

Find the output of the following program segment, when: [2]

(i)val=1600

int val, sum, n= 550;

sum= n+val>1750?400:200;

System.out.println(sum);​

this is the output bro

Explanation:

Answered by sanskriti6167
0

Explanation:

1 output

400

2 output

200

Similar questions