Advertisement
matogens

zadanie1cpp

May 7th, 2019
85
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. extern "C" int dodaj(int x, int y);
  5.  
  6. int main()
  7. {
  8.     int x,y, result;
  9.     cin >> x;
  10.     cin >> y;
  11.     result = dodaj(x, y);
  12.  
  13.     cout << "wynik=" << result << endl;
  14.  
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement