Write the definitions of the member functions of the class


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.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write the definitions of the member functions of the class
Reference No:- TGS0777706

Expected delivery within 24 Hours