Question: The program should be in Java Write a program that reads from the user the item type (A, B or C) and the quantity bought.

 The program should be in Java Write a program that reads

The program should be in Java

Write a program that reads from the user the item type (A, B or C) and the quantity bought. The price of cach item is displayed in the below table. If the user has bought more than 5 items of any type, he/she is notified that he/she will be charged double the amount; the user is given the choice to accept or to reduce the quantity bought to 5. The program displays the total amount. Your program should accept lowercase and uppercase alphabets for all character inputs. Type Price per one Item in LL 3000 A B 4000 5000

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!