Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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