Welcome to the store inventory database! This program is designed to keep track of the inventory of a store and update a text file with the current quantities of each item.
- Make sure you have the latest version of Java installed on your computer.
- Download the program and unzip the files.
- Open a terminal or command prompt and navigate to the directory where the program is located.
- Copy code
javac Main.java
- Run the program using the following command:
- Copy code
java Main
- The program will prompt you to enter the name of the text file containing the inventory data. Enter the name of the file or the full path to the file.
- The program will read the data from the file and display the current inventory.
- You can then add, remove, or update the quantities of items in the inventory. The program will automatically update the text file with the new quantities.
- When you are finished making changes, you can exit the program by entering 'Q' at the main menu.
- The program can generate a report of the current inventory, sorted by item name or by quantity.
- The program can also check if the inventory of a specific item is below a certain threshold and generate a warning if necessary.
Thank you for using the store inventory database!