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