Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am rating karma points 1750 by using other Questions. The answer has to be goo

ID: 3634265 • Letter: I

Question

I am rating karma points 1750 by using other Questions. The answer has to be good though.

Software:
Create a small business software (Michaels Inc.) that will help the business owner to input a list of items which will include information on prices, stock, expiry date, etc.

Then sort them by prices, stock, expiry date, etc. The purpose of the program is to help the owner know everything about the items he inputted in the software and then compare them with one another in a quick and organized manner.


The program should complete the following functionalities:

*User Input
*Using Arrays
*Using a Menu
*Using Methods
*Creating a Dynamic System (add, enter, delete, modify)
*Searches and Sorts

 

*Important* This program needs to work with java 1.4.2. Please make sure it works with this version.



Thank you very much! I will rate Lifesaver x5. Im not posting the other questions because if noone answers I literally waste 2000 karma points. If you have the answer and require proof before submitting, then I can post all of them.

Explanation / Answer

the code is long and requires good formatting for easier reading, I sent it to you by inbox.

It has the following:

store_data.txt file with some sample items, these are loaded when the store is launched, and saved before you exit.

Item.java file with the approriate item fields, and methods for comparison and sorting

JavaStore.java main class that has an array if Items, methods for insert, modify, remove, search by name, search by price (greater or less or equal) , search by stock (same as price) and search by expiration date. Sort alphabetically, by price, by stock and by expiration date.

a Main menu with all the main operations as options to choose from - relying on user input for insert/remove/upadte/search etc

Sub menus: 1 for sorting, another for searching

And the main execution method.

Please note that the File object declared in JavaStore points to the path to "store_data.txt" depending on where you're executing your java files from, and what path you set for generating the .class files, you may need to adjust that to reflect the actual file path on your machine. (can be local :"stode_data.txt" if everything is under one same folder. That might be best.

Also, note that I've tried using basic java classes and double checked whether it's 1.4 comatible whenever I remembered to, but you'll still have to double check and get bacl to me on that. I think it'll be fine, but PM me if it isn't.

Check your inbox :)

And remember to rate.