Minkyung Ko

exit added

Showing 1 changed file with 13 additions and 0 deletions
1 +#include <iostream>
2 +#include <cstring>
3 +
4 +int main() {
5 + char a[11];
6 + while (true) {
7 + std::cin >> a;
8 + if (strcmp(a, "exit") == 0)
9 + {
10 + break;
11 + }
12 + }
13 +}
...\ No newline at end of file ...\ No newline at end of file