Project 23: Other Complex Number Operations

Other Complex Number Operations:

For the examples below Z is the first complex number:  Z = 3-7i.  W is the second complex number: W = 1 + 2i

Project 23: The variables 'real1', 'imag1', 'real2', 'imag2' have been initialized.

real1 is the real part of the first imaginary number (3 in the example above)

imag1 is the imaginary part of the first imaginary number (-7 in the example above)

real2 is the real part of the second imaginary number (1 in the example above)

imag2 is the imaginary part of the second imaginary number (-2 in the example above)

Task:  Appropriately initialize the variables (sumReal, sumImag, difReal, difImag, quoReal, quoImag) that correspond to the real and imaginary parts for the sum, difference, and quotient for the complex numbers given.

**If your code works for 5 test cases in a row, you can enter your e-mail address.