1. Design pseudo code for the complexclass described 2.
2. Define a complexclass with private and publicmembers using operator-overloading techniques toadd, subtract, multiply and divide complex numbers.
The over-loaded operators are: +, -, *, and/
You need to write these prototypes for over-loaded operatorfunctions:
operator+ (complex x);
operator- (complex x);
operator* (complex x);
operator/ (complex x);
You also need to define constructors, input and output datafunctions.
Your program should perform the following operations on complexobjects as shown below:
complex n1,n2,n3;
n3=n1+n2;
n3=n1-n2;
n3=n1*n2;
n3=n1/n2
Expert Answer
An answer will be send
PayPal Gateway not configured
PayPal Gateway not configured