The Triangle class
The Triangle class publicly derives from Shape class. The Triangle class will have two private, integer data members: length and height. The class must implement the following functions:
- Triangle(int length=0, int height=0): A triangle class constructor
- virtual int GetArea() const: An accessor that returns the area of the Triangle.
- virtual void Draw() const: This function should output a string so that we can identify when the Triangle's Draw function is called. E.g., "Drawing a triangle ..."
- virtual ~Triangle(): A virtual destructor