W.A.P inC++ for swapping two numbers
Answers
Answered by
1
Answer:
#include<iostream.h>
void main( )
{
int a,b,c;
cout<<"Enter the value"<<endl;
cin>>a>>b;
c=a;
b=c;
a=b;
cout<<"Swap of Two Number "<<a<<b;
getch();
}
Similar questions