김건희

added exit.cpp

Showing 1 changed file with 22 additions and 0 deletions
1 +#include <iostream>
2 +#include <string>
3 +#include <vector>
4 +
5 +using namespace std;
6 +
7 +int main() {
8 + ios_base::sync_with_stdio(false);
9 + cin.tie(NULL);
10 +
11 + // º¯¼ö ¼±¾ð
12 + string str;
13 +
14 + // exit ¼öÇà
15 + while (str != "exit") {
16 + cout << "input : ";
17 +
18 + cin >> str;
19 + }
20 +
21 + return 0;
22 +}
...\ No newline at end of file ...\ No newline at end of file