Introduction - If you have any usage issues, please Google them yourself
Shape into a contained interface (for the class hierarchy to use) an abstract base class. Derived from the class of two-dimensional shape of class Shape and three-dimensional shape of class TwoDimensionalShape ThreeDimensionalShape, they are abstract classes, and then use virtual function print the output for each class type and dimension. To calculate the class hierarchy for each specific class of objects, these two classes should also include the virtual function area and volume. Finally, write a program to test class hierarchy Shape