박민정

add exit.cpp

Showing 1 changed file with 21 additions and 0 deletions
1 +//
2 +// Created by mindyeoi on 2021/04/01.
3 +//
4 +
5 +#include <iostream>
6 +#include <string>
7 +using namespace std;
8 +
9 +
10 +int main()
11 +{
12 + while(1)
13 + {
14 +
15 + string dasol;
16 + cin >> dasol;
17 + if(dasol == "exit")
18 + break;
19 + }
20 + return 0;
21 +}