Description: algorithm that 1-2 plane geometry problem. Problem description : probationary category C to the definition simple plane geometry objects to the abstract data type Geometry. (1) The definition of a float with two geometric m1 and m2; M2, the default value of 0.0. (2) to achieve two Constructors : permits the use of a parameter or two parameters statement geometric objects. Using a parameter r statement geometric objects to a radius of the circle r; With two parameters r1 and r2 statement to the geometric objects r1'r2 rectangular. Statement by the geometric objects in the center of origin. (3) calculate the geometric definition of the target area, perimeter and length of the diagonal members function. (4) For a given set of real r, first declare a radius of the circle r c1; Then a state
File list (Check if you may need any files):