Computer Science, asked by parthrisa4628, 10 months ago

Rewrite using Conditional (Ternary) operator:

if(amount<=5000)

discount= amount*2.0/100;

else if(amount>=501 & amount<=1000)

discount=amount*4.0/100;

else

discount=amount*6.0/100;​

Answers

Answered by shashwathrose
1

Answer:

what is your question????????????????

Answered by aayu5711
0

Answer:

I can't understand ur question

Explanation:

please mark me as brainlist

Similar questions