19 lines
282 B
C++
19 lines
282 B
C++
#include <iostream>
|
|
#include <string>
|
|
|
|
using std::cout, std::cin, std::string;
|
|
|
|
int main() {
|
|
|
|
while (true) {
|
|
string message;
|
|
cout << "Enter message: ";
|
|
cin >> message;
|
|
|
|
if (message == "exit") {
|
|
break;
|
|
}
|
|
}
|
|
|
|
return 0;
|
|
}
|