Description: 1, rectangular
Write a c++ program to complete the following features:
(1) the definition and the attribute of a were provided, including some coordinate calculation of the distance between the two methods,
(2) defines a rectangular type, its properties including upper and lower two points, provide calculation method of area,
(3) to create a rectangular object that prompts the user for rectangular coordinate the upper and lower
(4) were observed rectangular object and members of the class constructors and destructor call,
(5) calculating the area, and output
To Search:
File list (Check if you may need any files):
main1.cpp