Write a python program to enter bill amount and ask the user the payment mode and give the discount based on payment mode. Also display net payable amount.
Mode Discount
Credit card 10% of bill amount
Debit card 5% of bill amount
Net banking 2% of bill amount
Otherwise 0
Answers
Answered by
0
Answer:
Here, we are implementing a program, it will input sale amount and calculate the discount based on input amount.
Submitted by Pankaj Singh, on September 29, 2018
Input same amount and calculate discount based on the amount and given discount rate in Python.
The discount rates are:
Amount Discount 0-5000 5% 5000-15000 12% 15000-25000 20% above 25000 30%
Similar questions