Question: Write a C + + class called 'library' which contain the following members: 1 . Private member variables for book Title, author name, and is
Write a C class called 'library' which contain the following members: Private member variables for book Title, author name, and is available. is available to check if the book available in the library or not. Parametrized Constructor to initialize all data members. lendBook member function to lend available book. Display appropriate messages based on book availability. returnBook member function to return a lended book. Display appropriate messages based on book availability. display member function to display book information. Write a program that has library objects, and tests the mem functions of class library Split the code in separate files and running correctly.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
