Question
as a manager , manage the store inventory using a menu for: manager - add item manager - update quantity manager -change price manager -list
as a manager, manage the store inventory using a menu for:
manager - add item
manager - update quantity
manager -change price
manager -list all items
The inventory should be stored as a binary file on disk (Inventory File as binary file with random access)
as a customer:
be able to change password ( use the hash function to convert the password string before storing the value)
be able to clear shopping cart
be able to buy items in cart
this should update the quantity in stock or throw an exception if the quantity in the cart is larger than the quantity in stock
code that will display the order total and ask for pretend credit card payment info
code that will clears the cart after a successful purchase
-manage shopping cart ( add, update quantity, delete items from cart )
-- each shopping cart should be stored as a binary file so the customer can come back to the cart anytime
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