Description: 1, rectangular write C++ program completed the following features: (1) the definition of a Point class, its properties include the point coordinates, distance calculation between two points (2) to define a rectangle class, its properties, including the top left and right lower corner of the two points, the method of calculating the area (3) create a rectangular object, the user is prompted to enter the rectangular coordinates of the upper left and lower right corners of the (4) observed a rectangular object as well as a member of the Point class constructor and destructor call (5) to calculate the area, and outputs.
To Search:
File list (Check if you may need any files):
rectangular.cpp