정세호

잘못 올려서 다시올림

...@@ -5,13 +5,10 @@ using namespace std; ...@@ -5,13 +5,10 @@ using namespace std;
5 int main() { 5 int main() {
6 string s; 6 string s;
7 while (true) { 7 while (true) {
8 - cout << "if you enter 'exit', the program will exit: ";
9 cin >> s; 8 cin >> s;
10 - if (s == "exit") {
11 - break;
12 - exit(100);
13 - }
14 cout << s << endl; 9 cout << s << endl;
15 } 10 }
16 11
12 + }
13 +
17 } 14 }
...\ No newline at end of file ...\ No newline at end of file
......