daily pastebin goal
68%
SHARE
TWEET

zamena na vrednostite

hiker43 Aug 10th, 2018 (edited) 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5.     using std::cout;
  6.     using std::cin;
  7.     using std::endl;
  8.  
  9.     int a, b;
  10.  
  11.     cout<<"Vnesi dva broja:\t";
  12.     cin>>a>>b;
  13.  
  14.     a = a + b;
  15.     b = a - b;
  16.     a = a - b;
  17.  
  18.     cout<<"Posle promenata vrednosta na 'a' e:\t"<<a<<",vrednosta na 'b' e:\t"<<b;
  19.  
  20.     return 0;
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top