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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started