정태규

exit function has been added

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