#include<iostream>
using namespace std;
int swap(int x, int y)
{
int a;
a = x;
x= y;
y = a;
}
void main()
{
int x, y;
cout << "Enter X";
cin >> x;
cout << "Enter y";
cin >> y;
swap(x,y);
cout << "x=" << x <<endl<< "y=" << y << endl;
system("pause");
}