Question: Write a Java application that determines the order amount for each of an unknown number of customers. The company applies a quantity discount for all

Write a Java application that determines the order amount for each of an unknown number of customers. The company applies a quantity discount for all orders based on the following rules: o If the quantity is greater than 100, print the message You qualify for a $5.00 discount!, and subtract $5.00 from the order amount o If the quantity is greater than 200, print the message You qualify for a $10.00 discount!, and subtract $10.00 from the order amount o For each customer your program should print the order amount, plus 8.6 % sales tax, minus any applicable discount Input the quantity and price for each of the customers, then determine and display the employees order amount and quantity discount message. At the end of the program, print the total order amount for all customers. Example of a test run (pass 1): Enter Quantity: 150 Enter Price: 19.99 You qualify for a $5.00 discount Your amount for this order is $3250.94 At end print grand total of all orders

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!