rengetsu

ProcedurProgramavimas_3.04

Apr 23rd, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int Keisti(int a, int b)
  5. {
  6.     int aa, bb, cc;
  7.     aa = a;
  8.     bb = b;
  9.     cc = a;
  10.     aa = b;
  11.     bb = cc;
  12.     cout<<aa<<" "<<endl;
  13.     return bb;
  14. }
  15.  
  16. int main()
  17. {
  18.     int a, b;
  19.     cin>>a>>b;
  20.     cout<<Keisti(a,b)<<endl;
  21.    
  22.     return 0;
  23. }
Add Comment
Please, Sign In to add comment