박인호

exit

Showing 1 changed file with 19 additions and 0 deletions
1 +#include <iostream>
2 +#include <string>
3 +
4 +using namespace std;
5 +
6 +int main() {
7 + string input;
8 + cout << "ÀÔ·ÂÇϼ¼¿ä:";
9 +
10 + cin >> input;
11 +
12 + if (input == "exit") {
13 + exit(100);
14 + }
15 +
16 + cout << input;
17 +
18 + return 0;
19 +}
...\ No newline at end of file ...\ No newline at end of file