Rectangle Class
Understand the implementation of a Rectangle class with different operations.
We'll cover the following...
We'll cover the following...
Problem
Design a class called Rectangle containing data members top, left, bottom, and right to represent its coordinates. Implement the following functions in the Rectangle class.
areaPeri( ):
Calculates and sets the area and perimeter of Rectangle in the reference parameters passed to this method
topLeft( ): Returns the top-left point of the rectangle ...