For Programming Assignment 2 you will winite a program to ma
     For Programming Assignment 2 you will winite a program to manage a bookstore. This will again be a menu driven system. The following is your menu: 1: Read inventory from file 2: Add an entry 3: Delete an entry 4 Update an entry 5 Sort inventory 6. Write inventory to file and exit Your program ill be function-based and use a structured data type (struct) The struct called Book will have the folowing members: string isbn string title string author string publisher int quantity double price will make a call to the corresponding function (t.e, for case 1: you will call a function that reads the inventory trom a file) Each menu item will make a call to the corresponding function (i e for case 1 you All of your books (structs of type Book) will be stored in a partially tiled array of size MAX partaily tiled array you will need to have a second variable that keeps track of the number of eiements in your array, say size stored in a partially tiled array of size MAX_SIZE, which will be set to 100 Since it is a The following are the details for each of your menu options (Names are suggestions only but are descriptive) You will read the inventory from a tie called inventory.txt· e? which is provided for you (1 suggest you back up this moption 6) Notice that the data is stored in the same order as isted above in the struct tile since you will be overwriting newine delimited addinventory-Add an entry will prompt the user for each piece of information a 2  
  
  Solution
Hi, please follow the bellow link, hope this will help you
http://www.chegg.com/homework-help/questions-and-answers/c-bookstore-program-please-following-instructions-confused-array-things-please-help--progr-q5594741

