Q7 Write a program to receive Cartesian co-ordinates (x,y) of a point and convert them into polar co-ordinates(r,Φ).
Program: 65
Write a program to receive Cartesian co-ordinates (x,y) of a point and convert them into polar co-ordinates(r,Φ).
Output
Enter the co-ordinate points (x, y): 1 1 The polar co-ordinates of (1,1) is (1.414214, 0.785398) The polar co-ordinates in Degree: (1.414214, 45)