Advertisement
MeehoweCK

Untitled

Jan 7th, 2021
930
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int najwieksza(int a, int b, int c)
  6. {
  7.     // miejsce na Twój kod
  8. }
  9.  
  10. int main()
  11. {
  12.     cout << "Wpisz trzy liczby, ktore chcesz porownac: ";
  13.     int x, y, z;
  14.     cin >> x >> y >> z;
  15.     cout << "Najwieksza z wpisanych liczb to " << najwieksza(x,y,z) << endl;
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement