Question: Use build system IntelliJ and Java language. A software company sells a package that retails for $99.00/package. Quantity discounts are given according to the following
Use build system IntelliJ and Java language.
A software company sells a package that retails for $99.00/package. Quantity discounts are given according to the following table:
| 10-19 | 15% |
| 20-49 | 25% |
| 50-99 | 35% |
| 100 or more | 45% |
Write a program that asks the user to enter the number of packages purchased. The program should then display the packages price, amount of the discount (if any) and the total amount of the purchase after the discount.
| Use Scanner class or Dialog box for user input |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
