원영섭

If you enter ‘exit’, the program will exit

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