Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # include <iostream>
- # include <cstring>
- using namespace std;
- int main ()
- {
- char x[100];
- char y[100];
- cin>>x>>y;
- if (strlen(x)>strlen(y))
- {
- cout <<x<<endl;
- cout <<y;
- }
- else
- {
- cout <<y<<endl;
- cout <<x;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment