Question: In C Write a program to convert the Cartesian coordinates of point P to its Polar coordinates. Your program must do the following; 1 .
In C Write a program to convert the Cartesian coordinates of point P to its Polar coordinates. Your program must do the following;
Input the Cartesian or Rectangular coordinates of point P from the keyboard.
The input must be formatted as follows: xy
where x is the distance to point P in the x direction.
and y is the distance to point P in the y direction.
Your program must remove the unnecessary characters.
Both x and y should be real numbers ie floats
Determine the Polar coordinates of point P
The angle must be calculated in degrees.
The angle must be specified as a value between degrees and degrees.
Output the Polar coordinates of point P to the screen.
Specify the radius with two digits to the right of the decimal point.
Specify the angle with three digits to the right of the decimal point.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
