Question: 1 I Fig.11.19: Complex.h 2 II Complex class definition 3 #1fndef.COMPLEX_A 4 #define COMPLEXH - 6 class Complex 8 public: 9 Complex( double = 0.0,

1 I Fig.11.19: Complex.h 2 II Complex class definition 3 #1fndef.COMPLEX_A 4 #define COMPLEXH - 6 class Complex 8 public: 9 Complex( double = 0.0, double = 0.0 ); // constructor 10Complex operator const Complex &) const; I/ addi tion 1 Complex operator const Complex & const: II subt raction 12 void print) const I7 output 13 private: 14 double real; I real part 15 double imaginary; /7 imaginary part 16 end class Complex 17 18 #endif
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
