If the code doesn't load, you can check it out on
GitHub
Group A
Q3: Imagine a publishing company that markets both book and audio cassette versions. Create a class called Publication that stores the title (a string) and price (a float) of the publications. From this class, derive two classes: Book, which adds a page_count attribute (an integer), and Tape, which adds a playing_time attribute in minutes (a float). Write a program that instantiates the Book and Tape classes, allows the user to enter data for each class, and then displays the data members. If an exception occurs, set all data member values to zero.