josiftepe

Untitled

Nov 8th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int zbir(int a, int b) {
  6.     int rezultat = a + b;
  7.     return rezultat;
  8. }
  9.  
  10. int main()
  11. {
  12.     int a, b;
  13.     cin >> a >> b;
  14.     cout << zbir(a, b) << endl;
  15.  
  16.  
  17.     return 0;
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment