Question: Write a Java program 4) A wholesale office supply company discounts the price of each of its products depending on the number of units bought

 Write a Java program 4) A wholesale office supply company discounts

Write a Java program

4) A wholesale office supply company discounts the price of each of its products depending on the number of units bought and the price per unit. The discount increases as the number of units bought and/or the unit price increases. These discounts are given in the following table: Number bought 1.9 10-19 20-49 50-99 100 or more 0-10.00 0% 5% 9% 14% 21% Unit Price in Dollars 10.01-100.00 2% 7% 15% 23% 32% 100.01 or more 5% 9% 21% 32% 43% Write a program that calculates the percentage discount for a specified number of units and unit price. The program should read the number of units and the unit price and then calculate and print the total full cost, the total amount of discount, and the total discount cost

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!