// Project hello2.cpp // (Modern style) // See how to process strings using the modern // C++ string style. Also use the modern // include style using the std namespace. #include #include using namespace std; int main() { string name; cout << "Enter a name: "; while(cin >> name, name != "quit") { cout << "Hello, " << name << "." << endl; cout << "Enter another name: "; } return 0; }