Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- float a,b;
- float suma(float a, float b)
- {
- float c;
- c = a+b;
- return c;
- }
- int main()
- {
- cout<<"podaj 2 liczby"<<endl;
- cin>>a>>b;
- cout << suma(a,b) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement