#include<iostream>
using namespace std;
void main()
{
int a;
int b;
int c;
cout << "Enter the first number :" << endl;
cin >> a;
cout << "Enter the second number :" << endl;
cin >> b;
c = a;
a = b;
b = c;
cout << "The new value of a is " << a << endl;
cout << "The new value of the b is " << b << endl;
system("pause");
}
No comments:
Post a Comment