Computer Science, asked by ddnvishen74, 27 days ago

c) Find the output of the following program segment, when: 1) val = 400 2) val = 1700 int val, sum, n=600; sum = n + val >1700 ? 300 : 200;​

Answers

Answered by DhiruRiluloveyou
1

Answer:

when: 1) val = 400

output = 200

when: 2) val = 1700

output = 300

Similar questions