Computer Science, asked by samairaa206, 16 hours ago

What are the outputs of following:
int val, res, n = 1000;
res = n + val < 1750? 400 : 200 ; System.out.println(res);
i) if the input is 2000
ii) if the input is 500​

Answers

Answered by rushilk7
2

Answer:

if the input is 2000:

> 200

if the input is 500

> 400

pls mark as brainliest, cheers :D

Similar questions