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