김나현

exit

Showing 1 changed file with 14 additions and 0 deletions
1 +#include<iostream>
2 +#include<string>
3 +using namespace std;
4 +
5 +int main() {
6 + while (1) {
7 + string x;
8 + cin >> x;
9 + if (x == "exit") {
10 + exit(100);
11 + }
12 + }
13 + return 0;
14 +}
...\ No newline at end of file ...\ No newline at end of file