Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int larger()
- {
- int x,y;
- cout << "Give me two integers and I'll tell you which is larger." << endl;
- cin >> x >> y;
- if (x > y)
- cout << x << " > " << y << endl;
- else if (x < y)
- cout << y << " > " << x << endl;
- else if (x = y)
- cout << "They're the same fucking number." << endl;
- }
- int main()
- {
- larger();
- return 0;
- }
Add Comment
Please, Sign In to add comment