#include<iostream.h>
#include<conio.h>
class sample
{
int n1,n2;
public:
//void swap(int &,int &);
void accept()
{
cout<<"\n Enter Numbers : ";
cout<<"\n N1 : ";
cin>>n1;
cout<<"\n N2 : ";
cin>>n2;
swap(n1,n2);
}
void show()
{
cout<<"\n N1 : "<
cout<<"\n N2 : "<
}
void swap(int &n1,int &n2)
{
cout<<"\n Before swapping :";
show();
int t;
t=n1;
n1=n2;
n2=t;
cout<<"\n After swapping :";
show();
}
};
void main()
{
sample s;
clrscr();
s.accept();
getch();
}