한봉훈

exit program

1 +#include<iostream>
2 +using namespace std;
3 +int main() {
4 + while (1) {
5 + string input;
6 + cout << "ÀÔ·Â : ";
7 + cin >> input;
8 + if (input == "exit") break;
9 + }
10 + return 0;
11 +}
...\ No newline at end of file ...\ No newline at end of file