Advertisement
Josif_tepe

Untitled

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