Computer Science, asked by yuvannishanth, 6 hours ago

What will be the result of the following?
(i) val = 200

Answers

Answered by Shreya0912
1

Answer:

Mark as brainlist

Explanation:

Hi,

a)val=500

Execution:

sum=(500+550)>1750?400:200

sum=1050>1750?400:200;

Output:

200

b)val=1500

Execution:

sum=(1500+550)>1750?400:200

sum=2050>1750?400:200;

Output:

400

#hope it helps.

Similar questions