Introduction - If you have any usage issues, please Google them yourself
3. Declare a class named Rectangle rectangle, and its property to the lower left and upper right corner of the rectangle coordinates of two points, and a friend function to calculate the perimeter and area of a rectangle. Programming and seek lower-left corner right corner coordinates are (2.1,3.2), (5.2,6.3) rectangular perimeter and area. And the preparation of a friend class, class member functions to display the coordinates of the point.