View Code of Problem 78

#include<bits/stdc++.h>
using namespace std;
int main()
{
     string c[1005];
     for(int i=0;i<3;i++)
     cin>>c[i];
     sort(c,c+3);
     for(int i=0;i<3;i++)
     cout<<c[i]<<endl;
     return 0;
 }

Double click to view unformatted code.


Back to problem 78