Question: Your task is to design a C++ program that models a library system. The program should include classes representing books and patrons, and it should

 Your task is to design a C++ program that models a

Your task is to design a C++ program that models a library system. The program should include classes representing books and patrons, and it should implement features hke borrowing and returning books. Additionally, use inheritance, polymorphism, encapsulation, and other OOP principles. \#i\# Requirements: 1. Book Class: - Create a class named 'Book' with the following properties: - Title - Author - ISBN (International Standard Book Number) - Include appropriate getter and setter methods. 2. Patron Class: - Create a class named 'Patron' with the following properties: + Name - Library Card Number - Include appropriate getter and setter methods. 3. Libraryltem Class (Base Class): - Create a base class named 'Libraryltem' representing items available in the library. - Include properties like 'title', "isCheckedOut', and 'dueDate'. - Include member functions like 'checkOut 0 and "retumltem0". - Use encapsulation to protect data members. 4. Bookltem Class (Derived Class): - Create a derived class named 'Bookltem' that inherits from 'Libraryltem'. - Add properties specific to books, such as 'author' and 'isba'. - Override appropriate functions for books. 5. PatronRecord Class: - Create a class named 'PatronRecord' that keeps track of the books a patron has checked out. - Include functions for adding and removing books from a patron's recerd. 6. Library Class: - Create a class named 'Library' that manages a collection of books and potrons. - Include functions for adding books and patrons to the library. - Implement borrowing and returning books, updating patron reconds

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!