Question: Program should be in python For this program you will be writing a program that will use if-else or if-elif-else statements. Owl Coffee Shop has
Program should be in python
For this program you will be writing a program that will use if-else or if-elif-else statements.
Owl Coffee Shop has a coffee sales club where customers can earn reward points that can be used for their next purchase.
If a customer purchases 0 coffees, he/she earns 0 points.
If a customer purchases 1-2 coffees, he/she earns 20 points.
If a customer purchases 3 -4 coffees, he/she earns 45 points.
If a customer purchases 5-6 coffees, he/she earns 75 points.
If a customer purchases 7-8 coffees, he/she earns 110 points.
If a customer purchases more than 8 coffees, he/she earns 150 points.
Write a program that asks the user to enter their name (First and last name), and the number of coffees that he or she has purchased this month and displays their name and the number of points they have earned for the month. Add the total number of points for the store for the month and display the total on the screen.
Data for the program:
Mary Brown 5 coffees
Franklin Hernandez 1 coffee
Hisham Jones 0 coffees
Tyler Applegate 7 coffees
Dwana Miller 8 coffees
Francis Bonner 3 coffees
Marcela Cooper 0 coffees
Gladys Fisher 2 coffees
Andrea Prado 10 coffees
Erica Remis 9 coffees
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
