#include #include "CPstring.h" // file: firstof3.cc // demonstrate if statments // find first (alphabetically) of 3 strings int main() { string first, name1, name2, name3; cout << "Enter three names." << endl; cin >> name1 >> name2 >> name3; cout << "The first (in alphabetical order) is: "; first = name1; if (name2 < first) { first = name2; } if (name3 < first) { first = name3; } cout << first << endl; return 0; } Sample output: Enter three names. The first (in alphabetical order) is: xerxes Enter three names. The first (in alphabetical order) is: i