Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- string max(int a,int b)
- {
- if (a>b)
- return a>b;
- else
- return a<b;
- }
- int main()
- {
- int d,e;
- cin >> d;
- cin >> e;
- cout << max(d,e) <<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement