A supermarket is giving discount on a specific product having rate as rs100/-. Discount is based on quantity
as follows:
Quantity. discount(%)
>50 10
>30 5
otherwise nil
Write a program to input quantity and calculate discount and bill amount after discount.
Answers
Answered by
0
Answer:
100 divided by 10 =10 then 10 divided by 5 = 2, discount quantity = 5 percent
Similar questions