#include<iostream.h>
#include<conio.h>
class integer
{
int m,n;
public:
integer()
{
m=0;
n=0;
} //default constructor 1
integer(int a, int b)
{
m=a;
n=b;
} //Parameterized constructor 2
integer(integer &i)
{
m=i.m;
n=i.n;
} //copy constructor 3
};
void display()
{
cout<<a<<endl;
cout<<b;
}
void main()
{
integer i1,i2(30,40);
i1.display();
i2.display();
integer i3(i2);
i3.display();
getch();
}