Question: Plz, use C++ code Use the file polar dat in Blackboard secion Code- Ch6-10- Chs for tis work The file polar.dat contains polar coordinates as


Plz, use C++ code
Use the file polar dat in Blackboard secion Code- Ch6-10- Chs for tis work The file polar.dat contains polar coordinates as distance and angle data pairs, one per line section Code. Ch6-10->Ch8 for this work Create a Ct+ program that reads this file and creates a second file named xycord dat. The entries in the new file should contain the rectangular coordinates cooresponding to the polar coordinates in the polar dat file. Polar coordinates are converted to rectanigular coordinates using these formulas r cos a r is the distance coordinate, a is the radadn equivalent of the angle coordinate Format the contents of xycord.dat so that numbers are properly aligned Submit the files polar dat xycord dat and the cpp file in a compressed file The cpp file should contain a comment at the top with your name, course code and date. ex Miguel Long MAC102 July 15, 2017 widhseuri ande d e d cntain a (20 points toward Quiz 4) Attach File Browse My Computer Browse Content Collection
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
