This was the Original Qeustion. Design and implement a class called MonetaryCoin
ID: 3534932 • Letter: T
Question
This was the Original Qeustion.
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 main driver class
to instantiate and compute the sum of several MonetaryCoin
objects. Demonstrate that a monetary coin inherits its parent’s
ability to be flipped.
This is what is needed to be changed.
1) The main driver was to be a class of its own and not part of MonetaryCoin.
Explanation / Answer
I stored it here.