Question: do this in python QUESTION 18 A supermarket awards coupons depending on how much a customer spends on groceries. For example, if you spend $50,

do this in python

do this in python QUESTION 18 A supermarket awards coupons depending on

QUESTION 18 A supermarket awards coupons depending on how much a customer spends on groceries. For example, if you spend $50, you will get a coupon worth 8% of that amount. The following table shows the percent used to calculate the coupon awarded for different amounts spent. Write a program that asks the user to enter the cost and the program calculates and prints the value of the coupon a person can receive based on groceries purchased. If the user enters a negative cost, the program will exit. Here is the same run Please enter a cost of your groceries 14 [Enterl You win a discount coupon of S1.12. (8% f your purchase) Money Spent Less than $10 $10 S59 $60 $149 $150 S209 $210 or more Coupon Percentage No Coupon 8% 10% 12% 14%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!