Computer Science, asked by jmfqug0758, 3 months ago

What will be the output when *

a. value=1125 b. value=2020

int value, sum, n=550; sum=n-(value>1500?500:1000); System.out.println(sum);​

Answers

Answered by samrada24
0

Explanation:

when value is 1125

it will print 500

when value is 2020

it will print 1000

Similar questions