Question
Phython For this program you will be writing a program that will use if-else or if-elif-else statements. Read-It-All bookstore has a book sales club where
Phython
For this program you will be writing a program that will use if-else or if-elif-else statements.
Read-It-All bookstore has a book sales club where customers can earn reward points that can be used for their next purchase.
If a customer purchases 0 books, he/she earns 0 points.
If a customer purchases 1-3 books, he/she earns 5 points.
If a customer purchases 4-6 books, he/she earns 10 points.
If a customer purchases 7-8 books, he/she earns 15 points.
If a customer purchases 9 books, he/she earns 20 points.
If a customer purchases 10 or more books, he/she earns 25 points.
Write a program that asks the user to enter their name (First and last name), and the number of books that he or she has purchased this month and displays their name and the number of points they have earned for the month. Your program may run once per user, or may loop to accept multiple users.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started