Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int x,y;
- cout << "Podaj 2 liczby: " << endl;
- cin >> x >> y;
- if (x>y)
- {
- cout << "Wieksza jest pierwsza liczba: " << x;
- }
- else if (x<y)
- {
- cout << "Wieksza jest druga liczba: " << y;
- }
- else
- {
- cout << "Liczby sa sobie rowne.";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement