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
2
Answer:
if the input is 2000:
> 200
if the input is 500
> 400
pls mark as brainliest, cheers :D
Similar questions
Science,
8 hours ago
Hindi,
8 hours ago
English,
8 hours ago
English,
16 hours ago
Accountancy,
16 hours ago
Geography,
8 months ago
Business Studies,
8 months ago