Question: Test your code by running the following exercises in your main function. Output your results to standard output. Implement your print function to print the

Test your code by running the following exercises in your main function. Output your results to standard output. Implement your print function to print the complex number in the x + yi format as shown below in my output 1. create complex point c1 with 4-5i 2. create complex point c2 with 2 + 9i 3. determine phase of c1 and c2 4. add points c1 and c2 5. multiply points c1 and c2 You should get the following output (format your to look like mine). Use the correct cout statements in main() to accomplish this: c1: 4-5i c2: 2 + 9i phase c1: -0.896055 phase c2: 1.35213 c1 + c2: 6 + 4i c1*c2: 53 + 26i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
