Advertisement
Josif_tepe

Untitled

Feb 2nd, 2025
62
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 suma(int x, int y) {
  5.     return x + y;
  6. }
  7. int main() {
  8.     int a, b;
  9.     cin >> a >> b;
  10.    
  11.    
  12.     int s = suma(a, b);
  13.     cout << s << endl;
  14.     return 0;
  15. }
  16.  
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement