Question: Write Java Program to simulate online Store System. Any customer enter the store will assign a new shopping cart. The shopping cart is a collection

Write Java Program to simulate online Store System. Any customer enter the store will assign a new shopping cart. The shopping cart is a collection of items that a customer uses to collect (items)things for purchase. A customer can add items to the cart, remove them, empty the cart, view the items in the cart, and end shopping and proceed to checkout. Add an item to Customer shopping cart The system asks the user about a wanted customer for adding an item to his shopping cart. The system will allow the user to specify the customer by a customer number. The system will search about the specified customer to show if he/she is exists or not exits. If the customer is exist, The system will display a form displaying all items in the store, Then the system will ask the user to enter the items number and the required item quantity that the customer wants to add to his shopping cart. For each input the system will check the required item quantity with the item quantity in the store to validate that the required quantity is available in the store for that item , if not that the system will alert the user and will not allow the user to add the item to shopping cart.

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!