You are writing a program for a bookstore that has a membership rewards program. This membership program has two versions: a free version and a paid version. Both free and paid members receive points when making purchases, and paid membersalso receive a 10% discount on their total order. Customers who are not a part of the membership program receive no rewards.
Have your program run in a continuous while loop until the user decides to quit. Create a variable before the while loop called grand_total, initialized to 0. Each time a sale is entered, you will add the total to that variable. At the start of each loop iteration, the user has three options:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here