Question: Prob 2: Points: 10 Write a program to manipulate complex numbers stored in polar form. Use the class code Objects ComplexNumbers as a template for

Prob 2: Points: 10 Write a program to manipulate complex numbers stored in polar form. Use the class code Objects ComplexNumbers as a template for the program, replacing the code for Cartesian complex numbers with code using polar notations. The class definition is defined in Complex.h should include the following: appropriate accessor functions a member function that implements multiplication of two complex numbers a member function that determines which complex number has the larger magnitude. The program should allow the user to input complex polar numbers, display the numbers, change the magnitude and angle, multiply the numbers, and determine which complex number has the larger magnitude. Prob 2: Points: 10 Write a program to manipulate complex numbers stored in polar form. Use the class code Objects ComplexNumbers as a template for the program, replacing the code for Cartesian complex numbers with code using polar notations. The class definition is defined in Complex.h should include the following: appropriate accessor functions a member function that implements multiplication of two complex numbers a member function that determines which complex number has the larger magnitude. The program should allow the user to input complex polar numbers, display the numbers, change the magnitude and angle, multiply the numbers, and determine which complex number has the larger magnitude
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
