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