Introduction - If you have any usage issues, please Google them yourself
Calculate the area and perimeter of triangles, requirements are as follows: (1) design point class (point) (2) design triangle class (triangle), including at least the constructor for area and perimeter. (3) Three-point coordinates to determine a triangle, and to output the contents of the area of the triangle perimeter.