Page 1 of 1

python You are online shopping at SuperAwesomeCouponDealsAndStuff.com. They offer two types of discounts, cash-off coupo

Posted: Mon Jun 06, 2022 1:19 pm
by answerhappygod
python
You are online shopping at SuperAwesomeCouponDealsAndStuff.com.
They offer two types of discounts, cash-off coupons and percent
discount coupons. You must add tax after applying coupons. If you
have cash-off coupons, those must be applied first, then apply the
percent discount coupons on the pre-tax amount.
The following is the order of calculations:
In this program, prompt the user for the the amount of the
purchase, the cash coupon, the percent coupon. Then calculate and
return the total order item.
For instance, you have $5 off and 30% coupons and your item is
$15.99, you will first take
Do not forget to use variables and constants where appropriate.
Using varialabes, the first line might look like the
following:
Name your file coupon_calculations.py