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