Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Advanced Database Systems For Integration Of Media And User Environments 98

Authors: Yahiko Kambayashi, Akifumi Makinouchi, Shunsuke Uemura, Katsumi Tanaka, Yoshifumi Masunaga

1st Edition

9810234368, 978-9810234362

More Books

Students also viewed these Databases questions

Question

To find the integral of 3x/(x - 1)(x - 2)(x - 3)

Answered: 1 week ago

Question

What are Fatty acids?

Answered: 1 week ago

Question

What are Electrophoresis?

Answered: 1 week ago

Question

4. What will the team agreement contain?

Answered: 1 week ago