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