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 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
Get step-by-step solutions from verified subject matter experts
