정태규

exit function has been added

Showing 1 changed file with 2 additions and 1 deletions
......@@ -4,9 +4,10 @@ using namespace std;
int main() {
string input;
while (true) {
getline(cin, input);
while (input != "exit") {
cout << input << endl;
getline(cin, input);
}
return 0;
}
\ No newline at end of file
......