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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply