# include <iostream.h>
int main( )
{
int no1, no2, temp;
cout<<"\nEnter First Number : ";
cin>>no1;
cout<<"\nEnter Second Number : ";
cin>>no2;
cout<<"\nBefore interchange Numbers are - ";
cout <<"\nFirst Number : "<<no1;
cout <<"\nSecond Number : "<<no2;
temp = no1;
no1 = no2;
no2 = temp;
cout<<"\nAfter interchange Numbers are - ";
cout <<"\nFirst Number : "<<no1;
cout <<"\nSecond Number : "<<no2;
return 0;
}
0 comments:
Post a Comment