이인서

exit

Showing 1 changed file with 9 additions and 1 deletions
...@@ -2,7 +2,15 @@ ...@@ -2,7 +2,15 @@
2 using namespace std; 2 using namespace std;
3 3
4 int main(){ 4 int main(){
5 - cout << "test" << endl; 5 + string a;
6 + cin >> a;
7 +
8 +
9 +
10 + if (a == "EXIT")
11 + return EXIT;
12 + else
13 + cout << a << endl;
6 14
7 return 0; 15 return 0;
8 } 16 }
...\ No newline at end of file ...\ No newline at end of file
......