Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- //Precondició: Llegeix dos enters
- //Postcondició: En retorna el mínim
- int main() {
- int x, y;
- cin >> x >> y;
- if (x-y >= 0) cout << y << endl;
- else cout << x << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement