You are required to write java and pseudocode solution for this assignment

| November 30, 2018

You are required to write java and pseudocode solution for this assignment:

With the upcoming Robinson Hall Replacement Project, officials at the University have realized it would be a good idea to have a junk sale to sell off items within the building’s classrooms before demolishing it. Based on what is available in the building, the following items are available for sale:

Item Cost
Classroom Desk $9.74
Classroom Whiteboard $23.82
Instructor PC Workstation $102.83
Instructor Document Camera $87.34
Instructor Chair $12.23
Overhead Projector $52.36

Anybody can buy these things and in numerous quantities. In any case, they cannot buy more than seven of the same thing and cannot buy more than twelve things in total.

The project group needs your assistance to make a modular solution that will permit one client to enter the things they wish to buy. To do this, the client must see a menu with the following choices:

Note: Menu, in this context, means to allow the user to input a choice from a list of options (text) based on what action they want to take.

i) Add Item to Purchase List
Prompt the user to enter an item and a quantity they wish to purchase for the selected item. If the user has already added the item to the purchase list, or if adding the selected item at the specified quantity would exceed the maximum number of items allowed to be purchased, the user must see an error message, and the item must not be added to the purchase list. Then, return to the menu.

ii) Remove Item from Purchase List
Permit the user to remove an item from the purchase list by displaying all items on the purchase list and asking the user which item they wish to remove. (Only display items that the user has already indicated they want to purchase!) Removing an item removes all quantities of the item from the purchase list. It is not possible for the user to only remove some of the quantity of the item. If the user enters an item that is not on the purchase list, the user should receive an error. Then, return to the menu.

iii) Print Purchase List
Display a list of all items on the purchase list with their name, cost, quantity to be purchased, and total cost for the item. Do not display an item on the purchase list if it will not be purchased. If the purchase list is empty, display an error message to the user, instead of the purchase list. Then, return to the menu.

iv) Execute Purchase
Print a receipt containing a list of all items on the purchase list with their name, cost, quantity to be purchased, and total cost for the item. Include the total cost across all items on the purchase list. Do not display an item on the purchase list if it will not be purchased. If the purchase list is empty, display an error message to the user, instead of the receipt. End the program after this action.

v) Cancel Purchase
Cancel the purchase by informing the user their purchase has been cancelled. End the program after this action.

Get a 30 % discount on an order above $ 50
Use the following coupon code:
COCONUT
Order your essay today and save 30% with the discount code: COCONUTOrder Now
Positive SSL