blue

Editing exit function

Showing 1 changed file with 7 additions and 2 deletions
......@@ -2,8 +2,13 @@
using namespace std;
int main(){
string word;
cout << "Hello, world!";
cout << "Hello, world!"<<endl;
cout << "type the exit"<< endl;
cin >> word;
return 0;
if (word == "exit")
cout << "Á¾·áµÇ¾ú½À´Ï´Ù." << endl;
return 0;
}
\ No newline at end of file
......