school/cs142/lab03/quick.cpp

17 lines
243 B
C++
Raw Normal View History

2016-04-06 20:45:34 -07:00
#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;
}