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