In this exercise we will try out the use of virtual members of a class.
For this milestone, you are asked to reconsider your program so far and consider where you could use virtual functions to improve its design. In particular, consider whether you could have used virtual functions to provide an input and an output function for each class. I believe that you should have certainly used a virtual output function.
Test your new class with suitable data, as usual.
I will post my solution to these when PAD starts.