#include<iostream>
using namespace std;
int main()
{
int a,b;
cout<<"enter two numbers\n";
cin>>a;
b=a;
cin>>a;
cout<<"swap of two no. is\n"<<a<<b;
}
using namespace std;
int main()
{
int a,b;
cout<<"enter two numbers\n";
cin>>a;
b=a;
cin>>a;
cout<<"swap of two no. is\n"<<a<<b;
}
No comments:
Post a Comment