#include #include using namespace std; const string FIRST = "Herman"; const string LAST = "Smith"; const char MIDDLE = 'G'; int main () { string firstLast, lastFirst; firstLast = FIRST + ' ' + LAST; lastFirst = LAST + ", " + FIRST; cout << "The name in first-last format is " << firstLast << endl; cout << "The name in last-first format is " << lastFirst << endl; cout << "The name in last-first-initial format is "; cout << lastFirst << ", " << MIDDLE << "." << endl; return 0; }