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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!