WAP USING CONSTRUCTOR OVERLOADING USING (>,++ & +=)
#include<iostream.h>
#include<conio.h>
#include<math.h>
class complex
{
float i,r,m;
public:
void getdata()
{
cout<<"\nEnter the real & imaginary part::";
cin>>r>>i;
}
friend void operator++(complex &);
friend void operator>(complex &,complex &);
friend void operator+=(complex &,complex &);
#include<iostream.h>#include<conio.h>
#include<math.h>
class complex
{
float i,r,m;
public:
void getdata()
{
cout<<"\nEnter the real & imaginary part::";
cin>>r>>i;
}
friend void operator++(complex &);
friend void operator>(complex &,complex &);
friend void operator+=(complex &,complex &);


