박인호

exit

Showing 1 changed file with 3 additions and 1 deletions
...@@ -8,7 +8,9 @@ int main() { ...@@ -8,7 +8,9 @@ int main() {
8 cout << "ÀÔ·ÂÇϼ¼¿ä:"; 8 cout << "ÀÔ·ÂÇϼ¼¿ä:";
9 9
10 cin >> input; 10 cin >> input;
11 - 11 + if (input == "exit") {
12 + exit(100);
13 + }
12 cout << input; 14 cout << input;
13 15
14 return 0; 16 return 0;
......