Stuff
public text v1 · immutable#include <iostream>
#include <string>
using namespace std;
string userinput;
string first = "";
string last = "";
int main() {
cout << some stuff;
while (cin >> userinput && userinput != "") {
if(strcmp(userinput,first) < 0)
first = userinput;
if(strcmp(userinput,last) > 0)
last = userinput;
}
cout >> here's your strings... bleh
return 0;
}