#pragma once
#include
using namespace std;
class Complex
{
public:
Complex(double re=0.,double im=0.)
{
real=re;
imag=im;
}
void setreal(const double r);
void setimag(const double i);
friend Complex operator-(const Complex &);
friend istream& operator>>(istream &in,Complex &c);
friend ostream& operator(istream &in,Complex &c)
{
return in>>c.real>>c.imag;
}
ostream& operato