Complex Class with a + Operator
Understand overloading the + operator in a Complex Class.
We'll cover the following...
Challenge
Write a program that implements a Complex
class to maintain complex numbers. Also, provide an overloaded + operator in it that can add two complex numbers and make a provision to add a complex number with a double using the same overloaded operator. In this addition, the double value should be taken as the real ...