Advertisement
MeehoweCK

Untitled

Oct 21st, 2020
1,806
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. // napisz funkcję, która zwraca wartość większej z dwóch podanych liczb:
  6.  
  7. int wieksza(int a, int b)
  8. {
  9.     // miejsce na Twój kod
  10. }
  11.  
  12. int main()
  13. {
  14.     int a, b;
  15.     cin >> a >> b;
  16.     cout << wieksza(a,b) << endl;
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement