서연진

echo exit

...@@ -6,6 +6,9 @@ int main() { ...@@ -6,6 +6,9 @@ int main() {
6 string x; 6 string x;
7 while (true) { 7 while (true) {
8 cin >> x; 8 cin >> x;
9 + if (x == "exit") {
10 + break;
11 + }
9 cout << x << endl; 12 cout << x << endl;
10 } 13 }
11 return 0; 14 return 0;
......