Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int SUMA (int x, int y)
- {
- int w;
- w=x+y;
- cout << w << endl;
- }
- int main()
- {
- int x,y;
- cout << "Podaj liczbe x:";
- cin >> x;
- cout << "Podaj liczbe y:";
- cin >> y;
- SUMA(x,y);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement