1.Lulu Hypermarket wants you to create a program that they can use to compute for the discounts to be given to Lulu card holders. The program should read the user to enter the name of the customer...

1.Lulu Hypermarket wants you to create a program that they can use to compute for the discounts to be given to Lulu card holders. The program should read the user to enter the name of the customer and the number of purchases. The number of purchases will serve as the counter for the number of times purchase amount will be entered by the user. The program should be able to count the number of purchase amounts in each of the following ranges: • 1 to 30 • Above 30 The program should also compute the sum of all the purchase amounts. A discount is computed based on the sum of the purchase amount. If the sum of the purchase is more than 500, the discount is 2.5% of the sum; otherwise, the discount is 5% of the sum. Display an appropriate output. Python 3

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here