PiotrJurek

Zad5

Mar 29th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. float SUMA(float a, float b)
  6. {
  7. return a+b;
  8. }
  9.  
  10. int main()
  11. {
  12. cout << SUMA(4, 5) << endl;
  13. cout << SUMA(3.1415, 15.143) << endl;
  14. cout << SUMA(-8.88, 0) << endl;
  15. return 0;
  16. }
Add Comment
Please, Sign In to add comment