Showing
1 changed file
with
15 additions
and
0 deletions
exit.cpp
0 → 100644
1 | +#include <iostream> | ||
2 | +using namespace std; | ||
3 | + | ||
4 | +int main(void) { | ||
5 | + char a[5]; | ||
6 | + cin >> a; | ||
7 | + if (a[0] == 'e' && a[1] == 'x' && a[2] == 'i' && a[3] == 't') { | ||
8 | + cout << "exit program" << endl; | ||
9 | + return 0; | ||
10 | + } | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + return 0; | ||
15 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment