Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- // Karol Woźniak 18.03.2020r
- using namespace std;
- float liczba1,liczba2;
- //Float poniewaz w tresci zadania nie ma podane, ze ma obliczac liczby calkowite
- float SUMA(float a, float b)
- {
- return a+b;
- }
- int main()
- {
- cout << "Podaj dwie liczby: " << endl;
- cin >> liczba1 >> liczba2;
- cout << "Suma tych liczb wynosi: " << SUMA(liczba1, liczba2);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment