school/cs142/lab03/quick.cpp
2016-04-06 20:45:34 -07:00

17 lines
243 B
C++

#include <iostream>
#include <string>
using namespace std;
int main () {
string a, b;
cin >> a;
cin >> b;
if(a<b)
cout << "first is before last" << endl;
else
cout << "Second is before first" << endl;
}