Description: For this task you should submit Task2.cpp and Task2.h, it being your choice what you include in each.
You need to give consistent and appropriate denitions for a class hierarchy, in accordance with the scenario
described below. You also need a simple main function to run the simulation, as well as functions in the
classes dened.
To Search:
File list (Check if you may need any files):
Task2.cpp
Task2.h