Give the out put
A)
Val=500;
Int value, sum, n=550;
Sum= n+val>1750?400:200;
System. Out. Println(sum)
B)
Val=500
Answers
Answered by
21
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.
please Mark as brainleist
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.
please Mark as brainleist
goswamikushal3p3zr4d:
please mark as brainleist
Answered by
9
Answer:
hope it will help you.......
Attachments:
Similar questions
English,
7 months ago
Computer Science,
7 months ago
English,
7 months ago
Chemistry,
1 year ago
Physics,
1 year ago