C++ program Write a program using vectors and iterators that reads the titles of
ID: 3576241 • Letter: C
Question
C++ program
Write a program using vectors and iterators that reads the titles of books from a file and loads them into a vector
1. a function to load the vector
2. a function to prompt the user for a book title to display
-throw exception if appropriate
in main()
-define a vector
-call function to load the vector
-call function to prompt the user for which book to display
-enter the title: return what number it is in the list
-enter a number: return the title of the book
-handle exceptions
-display all the book title