Break the sookoata Class into Two Classes
Currently the BookData class contains all of the data about a book in the sto inventory. Now you will break the class into two classes: one that is a base class c taming on general data about a book, and another that is a derived class contain data about a book in inventory.
First, simplify the BookData class so it contains only the general data about a book-. Specifically, modify the BookData class so it contains only the following member van" ables and member functions:
Member Variables
bookTitle
isbn
author
publisher
Member Functions
setTitle
setISBN
setAuthor
setPub
Next you will create a new class named InventoryBook. This class will be derived from the BookData class, and will hold-inventory-related data about a book. Specifi-cally, this class will contain the following member variables and member functions, which were removed from the original BookData class:
Member Variables
dateAdded
qtyOnHand
wholesale
retail
Member Functions
setDateAdded
setQty
setWholesale
setRetail
isEmpty
removeBook
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.