Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main()
- {
- int a;
- int b;
- cout << "Podaj liczbe A:";
- cin >> a;
- cout << "Podaj liczbe B:";
- cin >> b;
- if (a>b)
- cout << a;
- else
- cout << b;
- if (a == b) // bez tego dziala
- cout << a;
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement