write a function to convert the two dimensional coordinates of a point from cartesian system to polar system by using x and y as its parameters ,returning r and using references to pass theta value .you have to consider the signs of the input x and y to determine the angle theta value,and displays it in degree.
r= srqt x^2+y^2 , theta = arctan (y/x)