Question: in c++ QUESTION 2 (15 pts): Implement class Book that represents a book with the following: 1. Attributes a. book_title (string), b. book_author (string), c.

in c++
QUESTION 2 (15 pts): Implement class Book that represents a book with the following: 1. Attributes a. book_title (string), b. book_author (string), c. book_count (int), to represent the available number of copies of the book d. book_price (Price). 2. A parameterized constructor to set all Book data members 3. setters for all data members 4. getters for all data members 5. void modifyBookCount(int n), modify current value of book_count by the amount n (n can be positive or 6. void printBook(), a member function to print the book information title, author, and price). Submit two files for this part, book.h (for the class interface) and book.cpp (for the class implementation)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
