김민석

exit program

Showing 1 changed file with 15 additions and 0 deletions
#include <iostream>
#include <string>
using namespace std;
int main()
{
string input;
cout << "If you enter ¡®exit¡¯, the program will exit" << endl;
cin >> input;
while (input != "exit")
cin >> input;
return 0;
}
\ No newline at end of file