Advertisement
MeehoweCK

Untitled

Apr 16th, 2021
840
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. void wypisz_dzialanie_sumy(int a, int b)
  6. {
  7.     cout << a << " + " << b << " = " << a + b << endl;
  8. }
  9.  
  10. int main()
  11. {
  12.     wypisz_dzialanie_sumy(90, 30);
  13.     wypisz_dzialanie_sumy(46, 77);
  14.     wypisz_dzialanie_sumy(-11, 7);
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement