#include<iostream.h>
class Complex
{
private:
float real;
float imaginary;
public:
Complex(float x,float y)
{
real=x;
imaginary=y;
}
void OutPut()
{
cout<<"shishuwei:"<<real<<endl;
cout<<"xushuwei:"<<imaginary<<endl;
}
};
void main()
{
Complex obj(2,0.5);
obj.OutPut();
}