blue

Editing exit function

Showing 1 changed file with 6 additions and 1 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;
if (word == "exit")
cout << "Á¾·áµÇ¾ú½À´Ï´Ù." << endl;
return 0;
}
\ No newline at end of file
......