Heo

modify

Showing 1 changed file with 6 additions and 3 deletions
...@@ -4,8 +4,11 @@ using namespace std; ...@@ -4,8 +4,11 @@ using namespace std;
4 4
5 int main() { 5 int main() {
6 string input; 6 string input;
7 - cin >> input; 7 + while (true) {
8 - cout << input << "\n"; 8 + cin >> input;
9 - 9 + if (input == "exit")
10 + exit(100);
11 + cout << input << "\n";
12 + }
10 return 0; 13 return 0;
11 } 14 }
...\ No newline at end of file ...\ No newline at end of file
......