CSE 110 Final Project: You are to create a Java Application that will outline everything you have learned this semester. This application is designed to display the following skills: 1. Declaration of...

CSE 110 Final Project:

You are to create a Java Application that will outline everything you have learned this semester. This application is designed to display the following skills: 1. Declaration of variables and data types 2. Creation of Classes and Methods and Encapsulation 3. Implementation of Constructors 4. Inheritance and Polymorphism 5. Reading and Writing to files


For you project, you will be creating a online shopping application. There are 3 major parts to this project.


1. Manager – The manager has the following responsibilities:


a. Enter items into storage/inventory. b. Modify items in storage/inventory. c. Delete items in storage/inventory. d. Add and remove employees e. Display all Employees. f. Modify Employees g. Also has the same abilities as the Employee 2. Employee – The Employee has the following responsibilities: a. Checkout Customer b. Check Inventory c. Review current online orders. d. Remove a customer’s order. e. Create customer account 3. Customer – The Customer has the following responsibilities: a. Load their order b. Save their order c. Checkout d. Create a new account e. Shop and search for items in the store.


All data is to be saved in text documents:


All Login should be stored in the following format: UserName, Password, type of account Example: SOsburn, 1234ASU, Manager


Inventory should be stored in the following format: Product Name, Quantity, Price per unit Example: Sugar, 32, 2.35


Customer Information should be stored in the following format: First Name, Last Name, Street address, City, State, Zip, UserName Example: Steven, Osburn, 123 SunDevil Dr., Tempe, Az, 85232, sosburn


Customer’s Order should be stored in the following format: Product, Quantity, Price per unit Example: Sugar, 2, 2.35 Apples, 2, .99


All customer orders are to be sorted (alphabetically) at the time of checkout and should be displayed in the following format:


Customer: Steven Osburn


123 SunDevil Dr. Tempe, Az. 85232


Items to be purchased: 2 Apples $1.98 2 Sugar $4.70 ------------------------------------- Total: $6.68 Discounts: $0.00 Tax: 4% ------------------------------------- Total Purchase Price $6.94


During the execution of your application, you should be saving the customer data while shopping in an Array and then give the customer an option to: 1: Add more items 2: Review the list 3: Remove an item 4: Save List 5: Load List 6: Delete List 7: Completed Order 8: Exit


Items 1 – 6 are self-explanatory, item 7 you will need to identify a way to separate the saved files from the completed ones. If the list is completed, it means that it is ready for check out and the employee or manager needs to be alerted when they log on.


Employee’s and Manager Information should be stored in the following format: Employee ID, First Name, Last Name, Position, Login ID Example: 0001231, Steven, Osburn, Manager, sosburn


During the login process, if it is an employee or manager, you must verify the user name from the login with the Employee’s and Manager Information file.


Every customer can only save 1 file, if it exists, ask the customer if it’s ok to write over the current file.


If they load the file, and want to Complete the Order, that file is deleted and a Completed Order file is created. You will need to verify with the customer to make sure they are completely done before you exit the customer. They might want to create a new order.



Need to verify that there is enough inventory in-stock to sell.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here