Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int wieksza(int a, int b)
- {
- if(a > b)
- return a;
- return b;
- }
- int main()
- {
- cout << "Wpisz dwie liczby, ktore chcesz porownac: ";
- int x, y;
- cin >> x >> y;
- cout << "Wieksza z wpisanych liczb to " << wieksza(x,y) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement