rewrite it using ternary operator
Attachments:
Answers
Answered by
0
Answer:
double discount = (bill>10000)?bill×10.0/00 : bill×5.0/100
Similar questions