Question: Part 3) Python Program A software company sells a package that retails for $99. Quantity discounts are given according to the following table. Write a

Part 3) Python Program

A software company sells a package that retails for $99. Quantity discounts are given according to the following table. Write a program that asks for the number of units sold and computes the total cost.

Quantity

Discount

10 19

20%

20 49

30%

50 99

40%

100 or more

50%

So for example if you ordered 5 items it would cost you $495 (No discount).

If you ordered 25 items, it would cost you $1732.50 with 30% discount (25*99 25*99*0.3).

Note that you can use the round (a, 2) method to round a number to two decimal places. If a = 4.56789 and you code b = round (a, 2), then b will be 4.47.

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!