Question: Program 1.1 (out of 5 points) Create a program named discountPrice.py Get user input for original price and percent reduction and report the sale price

 Program 1.1 (out of 5 points) Create a program named discountPrice.py

Program 1.1 (out of 5 points) Create a program named discountPrice.py Get user input for original price and percent reduction and report the sale price for the item. For example, if the original price was $19.99 and the percent reduction was 30% off, then the sale price should be $13.99. Here is an example of exactly how your program should look: Please enter the original price: 19.99 Please enter the percentage of: 30 The sale price is $13.99 >>>| Hint: You will want to use the round function to round cents to 2 decimal places. For example, amount = round(amount,2) rounds the variable amount to two decimal places and assigns the new, nicer number back into the variable named amount

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!