Define a class publisher that stores the name of the title and another class, sales, which stores number of sales for three months.

b) Define a class publisher that stores the name of the title and another class, sales, which stores number of sales for three months. Derive two classes: book and tape, which inherit from both publisher and sales. Define functions in the appropriate classes to get and print the details.


Leave a Reply