Implement a class complex no.which has two int nos.as private variables,ine for real part and other one for complex part.define input(),display()and constructor to initialize the object .include a member function to add two complex nos.
1
Expert's answer
2017-08-19T10:25:07-0400
class complex { int re; // real part int im; // complex part public: complex(int r, int c) { re = r; im = c; }
The expert did excellent work as usual and was extremely helpful for me.
"Assignmentexpert.com" has experienced experts and professional in the market. Thanks.
Comments