school/cs142/lab03/quick.cpp

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;
}