JakubKaczmarek_123

zadanie 1

Jan 22nd, 2021
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. float suma(float a, float b);
  5. int main(){
  6. cout << "suma to: " << suma(10.5, 19.2) << endl;
  7. cout << "suma to: " << suma(10.2, 16.2) << endl;
  8. cout << "suma to: " << suma(10.7, 11.2) << endl;
  9. cout << "suma to: " << suma(10.9, 12.2) << endl;
  10. }
  11. float suma(float a, float b){
  12. return a+b;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment