#include<iostream.h>
#include<conio.h>
int main()
{
int a,b,t;
cout<<"Enter First Number : ";
cin>>a;
cout<<"\nEnter Second Number : ";
cin>>b;
cout<<"Before Swaping : "<<a<<"\t"<<b;
t=a;
a=b;
b=t;
cout<<"\n After Swaping : "<<a<<"\t"<<b;
getch();
}
No comments:
Post a Comment