Answered step by step
Verified Expert Solution
Link Copied!

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: 1. Private member variables for book Title, author name, and is available. is available to check if the book available in the library or not. 2. Parametrized Constructor to initialize all data members. 3. lendBook()- member function to lend available book. Display appropriate messages based on book availability. 4. returnBook()- member function to return a lended book. Display appropriate messages based on book availability. 5. display - member function to display book information. Write a program that has 2 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions