Question: C++ Your program will be creating 10 library books. Each library book will have title, author, and publication year. Each library book will be stored

C++

Your program will be creating 10 library books. Each library book will have title, author, and publication year. Each library book will be stored as a structure and your program will have an array or vector (your choice) of library books (an array of structures or a vector of structures). You will code the information for all 10 library books directly in your C++ program. The user of your program should be able to select what they want to do from a menu of the following things and your program needs to do what the menu selection indicates:

* Print the entire list of library books

* Ask the user to enter a publication year and print the list of library books where the publication year is greater than or equal to that year

* Ask the user for an author and print the list of library books written by that author

In all three instances, the printed list must include the author, title, and publication year.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!