Question
Programming language in C++ - Code and debug part 1 before you begin part 2. The main program and each class definition must be in
Programming language in C++
- Code and debug part 1 before you begin part 2. The main program and each class definition must be in separate files. Hard code your test data in the program, so that you do not have to enter data when you run the program.
Library Application
Part 1 Person class Write a Person class that tracks subscribers to a library, with these member attributes: full name identifier (numeric) email address Person has these member functions: Constructor - initializes new object get and set function for each attribute Write a main program with these capabilities: Create test data for four people Display all people Edit attributes of an existing Person
Part 2 - Book Class Write a Book class that tracks all books in a library, with these member attributes: title author status - indicates if Book is checked out borrower the Person object that has currently checked out book, if any Book has these member functions: Constructor - initializes new object get and set function for borrower member variable checkOut - enables Person to check out Book - do not allow if book is checked out checkIn - enables Person to check in Book
Homework 3 Page 2 Extend your main program of part 1 with these capabilities: Create test data for six books display all books in library, along with name of borrower (if any) enable people to check books in and out
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started