하재정

add exit.cpp

Showing 1 changed file with 9 additions and 0 deletions
1 +#include <iostream>
2 +#include <string>
3 +
4 +int main() {
5 + std::string input;
6 + std::cin >> input;
7 + if (input == "exit")
8 + exit(0);
9 +}
...\ No newline at end of file ...\ No newline at end of file