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 | 20% |
20–49 | 30% |
50–99 | 40% |
100 or more | 50% |
Write a program that asks for the number of units sold and computes the total cost of the purchase.
Input Validation: Make sure the number of units is greater than 0.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.