The inventory management system needs to work with "Stock Index Cards" (SIC). SICs record the following pieces of information for each title being sold:
The inventory management system should offer the user a menu of the following options:
1.Add new Stock Index Card (will need to prompt the user to enter SIC-ID, Title, Author, Price, Quantity)
2.Remove Stock Index Card by SIC-ID
3.Increase Stock by SIC-ID (ask for the quantity)
4.Decrease Stock by SIC-ID (ask for the quantity)
5.Display Stock Index Card by SIC-ID
6.Display Stock Index Card by Author (show all that apply)
7.Display Stock Index Card by Title (show all that apply)
8.Display All Stock Index Cards
9.Change price by SIC-ID (price can't be negative)
10.Quit
The program should perform the operation selected by number and then re-display the menu. If the operation fails (e.g., invalid input or attempt to remove a book not in the inventory), your program should display an error message.