int a, b;
cout << "Input first number: ";
cin >> a;
cout << "Input second number: ";
cin >> b;
swap (a, b);
cout << "After swapping the first number: " << a << endl;
cout << "After swapping the second number: " << b << endl;