you have been tasked to write a program that takes two complex number and return theie sum.However the + operator will not worl with complex numbers and you figure you need to verload the + and the assignment opeartor=.Ypu have come across the program (http://wwww.cprogramming.com/tutorial/operator_overloading.html)
implement it and the client code to see it rune for the following complex numbers:
c1=3.0-4i,c2=8+4i
i have 3 files,driver.cpp,Complexnumber.cpp and complexNumber.h
#include<iostream>
#include"ComplexNumber.h"
usingnamespace std;
int main()
{
double c1,c2;
ComplexNumber userInput(c1,c2);
cout << "Please enter in a value for the real part of the number: "<< endl;
cin >> c1;
cout << "Please enter in a value for the imaginary part of the number: "<<endl;
cin >> c2;
cout << "The value of the complex number created is: "<< endl;
system ("PAUSE");
return 0;
}