This program reads a file into a struct

This program writes a program which reads a file into a struct. Also, it is a menu driven application to query the database. When the program starts it should ask the user for the path to the data file, and read the data into the parallel arrays, as in step 1. Then it should enter a loop, in each iteration of which it prompts the user for what they want to do. The actions are as follows depending on how the user responds to the prompt. Lastly, it displays the output in alphabetical order of author and for title as well.