Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. signed main() {
  6.     ios_base::sync_with_stdio(0);
  7.     cin.tie(0);
  8.     cout.tie(0);
  9.     int a,b;
  10.     cin >> a >> b;
  11.     int temp = a;
  12.     a = b;
  13.     b = temp;
  14.     cout << a << "\n" << b;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement