question archive Instructions Create Shopping application that tracks a store's inventory of items and a customer list that allows them to have a shopping cart of items and purchase the items
Subject:Computer SciencePrice: Bought3
Instructions
Create Shopping application that tracks a store's inventory of items and a customer list that allows them to have a shopping cart of items and purchase the items.
Allow a user to:
-login - either as a customer or a manager ( for the manager, have a hard coded password ).
-- list of customers should be stored as a binary file
-create new customer account ( ID and password is all that's needed )
customer 'login' using an ID and password use the hash function to convert the password string before storing the value -
as a manager, manage the store inventory using a menu for:
-add item
-update quantity
-change price
-list all items
-- The inventory should be stored as a binary file on disk
as a customer:
-change password ( use the hash function to convert the password string before storing the value -
-clear shopping cart
-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
-- display the order total and ask for pretend credit card payment info
-- 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.