김성원

If you enter 'exit', the program will exit

Showing 1 changed file with 10 additions and 1 deletions
......@@ -4,7 +4,16 @@ using namespace std;
int main()
{
string echo;
while(1)
{
getline(cin, echo);
cout << echo;
cout << echo << endl;
if(echo == "exit")
{
break;
}
}
}
......