#include #include using std::cout, std::cin, std::string; int main() { while (true) { string message; cout << "Enter message: "; cin >> message; if (message == "exit") { break; } } return 0; }