Computer Science, asked by guptamanju20101985, 3 days ago

correct answer will get brainest
Rewrite the following using ternary operator if (bill>1000)
discount = bill * 10.0/100;
else discount = bill * 5.0/100;​

Answers

Answered by sonalminz
14

Answer:

discount = bill >1000 ? bill * 10.0/100;

bill * 5.0/100;

Similar questions