Problem
Construct a class called RectCoord whose objects are points on the coordinate plane represented by x and y coordinates. The data fields of this class will be two floating point numbers. Only member functions needed would be constructors, display function, and a friend function named polarCon() whose function is described.