송민석

Added exit.cpp

Showing 1 changed file with 15 additions and 0 deletions
#include <iostream>
#include <string>
using namespace std;
int main(){
string str;
while(1){
cout << "If you want exit, Input \"exit\" : ";
cin >> str;
if(str == "exit"){
exit(100);
}
}
return 0;
}
\ No newline at end of file