Showing
1 changed file
with
4 additions
and
0 deletions
... | @@ -11,6 +11,10 @@ using namespace std; | ... | @@ -11,6 +11,10 @@ using namespace std; |
11 | int main() { | 11 | int main() { |
12 | string a; | 12 | string a; |
13 | cin >> a; | 13 | cin >> a; |
14 | + if(a=="exit") | ||
15 | + return 0; | ||
16 | + else{ | ||
14 | cout << a << endl; | 17 | cout << a << endl; |
15 | return 0; | 18 | return 0; |
19 | + } | ||
16 | } | 20 | } | ... | ... |
-
Please register or login to post a comment