Showing
1 changed file
with
6 additions
and
1 deletions
... | @@ -2,8 +2,13 @@ | ... | @@ -2,8 +2,13 @@ |
2 | using namespace std; | 2 | using namespace std; |
3 | 3 | ||
4 | int main(){ | 4 | int main(){ |
5 | + string word; | ||
5 | 6 | ||
6 | - cout << "Hello, world!"; | 7 | + cout << "Hello, world!"<<endl; |
8 | + cout << "type the exit"<< endl; | ||
9 | + cin >> word; | ||
7 | 10 | ||
11 | + if (word == "exit") | ||
12 | + cout << "Á¾·áµÇ¾ú½À´Ï´Ù." << endl; | ||
8 | return 0; | 13 | return 0; |
9 | } | 14 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment