SHARE
TWEET

Untitled

Nistor_Ariana Nov 19th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<iostream>
  2. #include<cstring>
  3. using namespace std;
  4. char x[100],y[100];
  5. int main()
  6. {
  7.     cin>>x>>y;
  8.     if(strlen(x)>strlen(y))
  9.     {
  10.         cout<<y<<endl;
  11.          cout<<x;
  12.     }
  13.     else
  14.     {
  15.         cout<<x<<endl;
  16.         cout<<y;
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top