Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -8,6 +8,9 @@ int main() { | ... | @@ -8,6 +8,9 @@ int main() { |
8 | cin >> input; | 8 | cin >> input; |
9 | cout << input << endl; | 9 | cout << input << endl; |
10 | 10 | ||
11 | + if (input == "exit") { | ||
12 | + break | ||
13 | + } | ||
11 | } | 14 | } |
12 | return 0; | 15 | return 0; |
13 | } | 16 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment