Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int _tmain(int argc, _TCHAR* argv[])
- {
- int a, b, c;
- cout << "Insert A, B"<< endl;
- cin >> a >> b;
- c = a;
- a = b;
- b = c;
- cout << "A = " << a << " B = " << b << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement