Anna library maintains lot of books since many years. Its data store has booktitle, auhor name, publisher, year of publi
Posted: Sat May 14, 2022 3:07 pm
Write a C++ program and make sure to use the following concept given in the picture. Pls experts solve it before 3:00pm it's very urgent...
Anna library maintains lot of books since many years. Its data store has booktitle, auhor name, publisher, year of publishing and price for each book available in the library. A reader wants to know the details and the count of the oldest books available in the library. Write a c++ program that accepts number of books and (booktitle, auhor name, publisher, year of publishing and price) for each book as input and display the (booktitle, auhor name, publisher, year of publishing and price) and count of the oldest books in the library. Make sure to use the following concepts. 1. classes and array of objects 2. Member function for finding oldest book 3. Member function for printing book details Sample input First line represents the number of books (n) in the library Each of the following n lines represent a book detail in the format of booktitle auhorname publisher yearofpublishing price Sample output First line should be the count of oldest books m Each of the following m line should display the oldest book details in the format booktitle auhorname publisher yearofpublishing price Input 3 Thirkural Thirvalluvar Createspace 1850 50 Ramayana Valmiki Mangalam 1850 2000 Mahabharata Shiv Hopkins 1910 1500 Output 2 Thirkural Thirvalluvar Createspace 1850 50 Ramayana Valmiki Mangalam 1850 2000
Anna library maintains lot of books since many years. Its data store has booktitle, auhor name, publisher, year of publishing and price for each book available in the library. A reader wants to know the details and the count of the oldest books available in the library. Write a c++ program that accepts number of books and (booktitle, auhor name, publisher, year of publishing and price) for each book as input and display the (booktitle, auhor name, publisher, year of publishing and price) and count of the oldest books in the library. Make sure to use the following concepts. 1. classes and array of objects 2. Member function for finding oldest book 3. Member function for printing book details Sample input First line represents the number of books (n) in the library Each of the following n lines represent a book detail in the format of booktitle auhorname publisher yearofpublishing price Sample output First line should be the count of oldest books m Each of the following m line should display the oldest book details in the format booktitle auhorname publisher yearofpublishing price Input 3 Thirkural Thirvalluvar Createspace 1850 50 Ramayana Valmiki Mangalam 1850 2000 Mahabharata Shiv Hopkins 1910 1500 Output 2 Thirkural Thirvalluvar Createspace 1850 50 Ramayana Valmiki Mangalam 1850 2000