Class Description

In this lab you will complete a class to handle complex numbers. The class has data members to hold the real and imaginary parts of the number, both of which are of type double.

To complete the Complex class, you must add

  1. A non-default constructor that creates a complex number given its real and imaginary parts.
  2. Two overloaded Multiply() functions:
    • Multiply a complex number by another complex number.
    • Multiply a complex number by a double.

You will create a source file lab5.cpp to contain your main() function. The class declaration and definitions must be in the files Complex.h and Complex.cpp, respectively.