a. Rewrite the definition of the class complexType so that the arith-metic and relational operators are overloaded as nonmember functions.
b. Write the definitions of the member functions of the class complexType as designed in part a.
c. Write a test program that tests various operations on the class complexType as designed in parts a and b. Format your answer with two decimal places.