Question: NEED AS CODE WITH 3 FILE MAIN.CPP COMPLEX.CPP COMPLEX.H Need Ouput like this Create a class complex Each complex number should have a real and
NEED AS CODE WITH 3 FILE
MAIN.CPP
COMPLEX.CPP
COMPLEX.H

Need Ouput like this 
Create a class complex Each complex number should have a real and imaginary part. Encapsulate your number, note that the real and imaginary part of a complex number cannot be changed. Create a function to sum two complex number, This function should not be the member of the class. Create a non member function that subtract two complex numbers. Create a print function inside your complex class Explain why you should not have a default constructor for your class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
