Rewrite the following using ternary operator:
if(bill > 10000)
discount = bill * 10.0 / 100;
else
discount = bill * 5.0 / 100;
Answers
Answered by
0
Answer:
Sorry don't know pls mark me as brainlist
Similar questions