Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Android Graphics

Authors: Wallace Jackson

1st Edition

1430257857, 978-1430257851

More Books

Students also viewed these Programming questions

Question

What is the difference between ARPANET and the Internet?

Answered: 1 week ago

Question

Name the four major components of the domain name system.

Answered: 1 week ago