Question: 2. Rather than using the complex header file we can easily declare and implement our own version of the complex number class. Complete the implementation

2. Rather than using the complex header file we can easily declare and implement our own version of the complex number class. Complete the implementation of the class complex as declared in the program complexnumbers.cpp. Do not modify the main program. You must write the constructor, the four methods of the class and the six operators. For marking purposes, enter the complex numbers (2,4) and (1, -1) when you ruin your program and capture the output / File: complexnumbers.cpp Implement complex numbers as a class using operators/ #include #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
