원영섭

If you enter ‘exit’, the program will exit

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