C++
Imagine a publishing company that markets both book and audiocassette
versions of its works. Create a class publication that stores the title (a string) and
price (type float) of a publication. From this class derive two classes: book,
which adds a page count (type int), and tape, which adds...