Showing
2 changed files
with
7 additions
and
1 deletions
... | @@ -4,7 +4,13 @@ using namespace std; | ... | @@ -4,7 +4,13 @@ using namespace std; |
4 | 4 | ||
5 | int main() | 5 | int main() |
6 | { | 6 | { |
7 | + while (1) | ||
8 | + { | ||
7 | string a; | 9 | string a; |
8 | cin >> a; | 10 | cin >> a; |
9 | cout << endl << a; | 11 | cout << endl << a; |
12 | + | ||
13 | + if (a == "exit") | ||
14 | + break; | ||
15 | + } | ||
10 | } | 16 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment