Question: USING C++ Write a program that will compute the magnitude and angle of a complex number. A complex number has two parts, Real and Imaginary
USING C++
-
Write a program that will compute the magnitude and angle of a complex number. A complex number has two parts, Real and Imaginary and written in the following format:
+
where a is Real part and b is Imaginary part. The magnitude of a complex number is defined as + and the angle
between the real and the imaginary part as (). The program should ask
user to enter the real and the imaginary parts of a complex number individually and calculate and display the magnitude and the angle in degrees NOT in radian. Submit the printed output and source code to your instructor.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
