*** Hardware Inventory Program ***
What would you like to do?
Enter
1 to insert a new item into the datatbase
2 to list all the tools in the database
3 to delete an item from the database
4 to update the information about an item in the database
Type any other number to quit
--> 1
Enter the item number for the new item: 24
What is the name of the item? Jig saw
How many items are on hand? 21
What is the unit cost? 11.00
What would you like to do?
Enter
1 to insert a new item into the datatbase
2 to list all the tools in the database
3 to delete an item from the database
4 to update the information about an item in the database
Type any other number to quit
--> 1
Enter the item number for the new item: 3
What is the name of the item? Electric sander
How many items are on hand? 7
What is the unit cost? 57.98
What would you like to do?
Enter
1 to insert a new item into the datatbase
2 to list all the tools in the database
3 to delete an item from the database
4 to update the information about an item in the database
Type any other number to quit
--> 2
*** List of Items in the Inventory ***
3 Electric sander 7 $57.98
24 Jig saw 21 $11.00
What would you like to do?
Enter
1 to insert a new item into the datatbase
2 to list all the tools in the database
3 to delete an item from the database
4 to update the information about an item in the database
Type any other number to quit
--> 3
Enter the item number of the item you would like to delete: 3
Item 3 has been deleted.
What would you like to do?
Enter
1 to insert a new item into the datatbase
2 to list all the tools in the database
3 to delete an item from the database
4 to update the information about an item in the database
Type any other number to quit
--> 2
*** List of Items in the Inventory ***
24 Jig saw 21 $11.00
What would you like to do?
Enter
1 to insert a new item into the datatbase
2 to list all the tools in the database
3 to delete an item from the database
4 to update the information about an item in the database
Type any other number to quit
--> 0
Program terminating.
/cs/bin/turnin submit cs2301 hw5 hw5.c
Programs submitted after 11:59pm on December 5 will be tagged as late, and will be subject to the late homework policy.