swaping of two number in c++





Write a program that can subtract the two numbers using swaping?

#include<iostream.h>
int main()
{
int a,b,c;
clrscr();
cout<<"\n Enter First Number = ";
cin>>a;
cout<<"\n Enter Second Number = ";
cin>>b;
c=a;
a=b;
b=c;
cout<<"\n"<<" Subtraction = "<<b-a;
system("pause");
return 0;
}