**Please include pseduo code as a comment in your sourcefile**
Write a C++ program: Construct two classes namedRec_coord and Pol_coord. The Rec_coordclass should contain two double-precision data members namedxval and yval, used to store a point’s xand y values in rectangular coordinates. The memberfunctions should include constructor and display functions and afriend function named conv_pol(). The Pol_coordclass should contain two double-precision data members nameddist and theta, used to store a point’s distanceand angle values in polar coordinates. The member functions shouldinclude constructor and display functions and a friend functionnamed conv_pol().
The friend function should accept an integer argument nameddir, two double-precision arguments
PayPal Gateway not configured
PayPal Gateway not configured