Question: Write by C Write by C Ibrs) 2 Title Grocery Store Database. Background Context structures) Program Specifications should open the file and read its contents
Write by C
Write by C






Ibrs) 2 Title Grocery Store Database. Background Context structures) Program Specifications should open the file and read its contents into an array of item st assignment you are to write a program that will maintain a small grocery database (ie., array of Your program should first ask the userthe name of the text file that contains the data forthe database. Then, it ructures. (The maximum size of the array will be 10) After the file is opened and the contents are read into the array, close the file and display th e following menu: 1) Add newitem 2) 3) Delete item 4) 5) 6) Change the cost of an item Search for item Display inventory details Quit Each menu choice should invoke an appropriate function to perform the selected menu item/t task and wait for the userto select anotheroption until the user chooses to program must display the menu after each quit the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
