Question: Write a C++ program to create/append to a file named polar.dat and accepts distance and angle data from the user and adds data at the

Write a C++ program to create/append to a file named polar.dat and accepts distance and angle data from the user and adds data at the end of the fle. Write a C++ program to read polar.dat and creates a second file named xycord.dat. The entries in the new file should contain the rectangular coordinates corresponding to the polar coordinates in the polar.dat file. Polar coordinates are converted to rectangular coordinates by using y-r sin = angle / 180 where r is distance, angle is in degrees, e is in radians 2:01 PM rP ^ 49 11/7/2018
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
