Lab 11 – Monetary Coin
Design and implement a class called MonetaryCoin that is derived from the Coin class presented in Chapter 5. Store an integer in the MonetaryCoin that represents its value and add a method that returns its value. Create a driver class to instantiate and compute the sum of several different types of MonetaryCoin objects (e.g. penny, nickel, dime). Demonstrate that a monetary coin inherits its parent's ability to be flipped.