This is a simple command-line application written in Ruby to manage a bookstore's inventory. The program allows users to add books, display the current inventory, and calculate the total value of all books in the inventory.
- Add new books to the inventory with a title and price.
- Display all books currently in the inventory.
- Calculate and display the total value of the inventory.
- Easy-to-use menu system for user interaction.
To run this program, you need to have Ruby installed on your machine.
To check if Ruby is installed, run the following command in your terminal:
ruby -v Then to run the code navigate to the directory of the .rb file and run with ruby BookStore.rb