| Write an inheritance hierarchy for class Quadrilateral, Trapezoid,
Parallelogram, Rectangle and Square. Use Quadrilateral as the base class of the
hierarchy. Make the hierarchy as deep (i.e., as many levels) as possible. The
private data of Quadrilateral should be the (x, y) coordinate pairs for the
four endpoints of the Quadrilateral. Write a driver program that instantiates
and displays objects of each of these classes |