Question: if and elif only please Objective: Practice Displaying Output with print Function. Comments, Variable, Reading Input from the Keyboard, format output, if statement, and if-else

 if and elif only please Objective: Practice Displaying Output with print
if and elif only please

Objective: Practice Displaying Output with print Function. Comments, Variable, Reading Input from the Keyboard, format output, if statement, and if-else statement Lab Description: 1. Software Sales. A software company sells a package that retails for $99. Quantity discounts are given according to the following table Quantity Discount 10-19 10% of all the item 20-49 20% of all the item 50-99 30% of all the item Flue or more 40% of all the item Example: if you purches 350 item, your discount is 350.0.4 * 99 = 13,860.00 Write a program that asks the user to enter the number of packages purchased. The program should then display the discount amount (if any) and the total amount of the purchase after the discount. (Save your file as Software_sales.py) SAMPLE RUN 1 Enter the number of packages purchased: 150 Discount Amount: $ 5940.00 Total Amount: $ 8910.00 SAMPLE RUN 2 Enter the number of packages purchased: 22 Discount Amount: $ 435.60 Total Amount: $ 1742.40 SAMPLE RUN 3 Enter the number of packages purchased: 9 Discount Amount: $ 0.00 Total Amount: $ 891.00 SAMPLE RUN 4 Enter the number of packages purchased. 12 Discount Amount: $ 118 80 Total Amount: $ 1069.20

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!