Single inheritance means that each subclass only has
one parent; refer to Figure 1. Multiple inheritance means
that each subclass can have more than one parent.
Consider adding a new account type, which is partly a
checking account but also partly a saving account. Instead
of duplicating member functions, use multiple inheritance
to build a class based on two or more parents; refer to
Figure 2.