Question: PYTHON ONLY.... LOOPS 5.3 Exercise # 3: A retailer shop would like to help its customers determine the reduced price of the merchandise by having

PYTHON ONLY.... LOOPSPYTHON ONLY.... LOOPS 5.3 Exercise \# 3: A retailer shop would like

5.3 Exercise \# 3: A retailer shop would like to help its customers determine the reduced price of the merchandise by having a printed discount table on the shelf that shows the original prices and the prices after the discount has been applied. Write a program that uses a loop to generate this table, showing the original price, the discount amount, and the reduced price. Your program will read the % of discount, then it will read the prices of the items. Once the user is done with entering the prices, he will press the ENTER key to terminate. Sample run: Enter % of discount: 25 Enter price of item 1: 42.85 Enter price of item 2 or press ENTER key(Exit): 158.25 Enter price of item 3 or press ENTER key(Exit): 66.89 Enter price of item 4 or press ENTER key(Exit): 145.95 Enter price of item 5 or press ENTER key(Exit): original Price Discount reduced Price 42.85158.2566.89145.9510.7139.5616.7236.4932.14118.6950.17109.46

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!