Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include <cstdlib>
  4. using namespace std;
  5.  
  6.  
  7. int _tmain(int argc, _TCHAR* argv[])
  8. {
  9. int a, b, c;
  10. cout << "Insert A, B"<< endl;
  11. cin >> a >> b;
  12. c = a;
  13. a = b;
  14. b = c;
  15. cout << "A = " << a << " B = " << b << endl;
  16. system("pause");
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement