Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ programming C++ programming C++ programming C++ programming C++ programming Homework 3 Page 2 Homework 3-Library Application Extend your main program of part 1 with

C++ programming

C++ programming

C++ programming

C++ programming

C++ programming

image text in transcribedimage text in transcribed

Homework 3 Page 2 Homework 3-Library Application Extend your main program of part 1 with these capabilities: Due Wednesday, October 11, at the beginning of class. Hand in hard copy of your code and be prepared to run your program. Develop your program as follows - Create test data for six books . display all books in library, along with name of borrower (if any) eenable people to check books in and out * 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 Challenge (optional-1 bonus point) you run the program. Track the number of copies of each book, and track one borrower for each copy, Do not allow a person to check out a book if all copies are already checked out. 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 eEdit attributes of an existing Person Part 2 Book Class Write a Book dass 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

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_2

Step: 3

blur-text-image_3

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

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

=+What is the nature of the plant or site-level role of unions?

Answered: 1 week ago

Question

=+such as the dirigenti in Italy?

Answered: 1 week ago