안지현

exit edited

Showing 1 changed file with 14 additions and 0 deletions
#include <iostream>
using namespace std;
int main() {
string c;
string e = "exit";
cout << "Enter message" << endl;
cin >> c;
if (c == e) {
exit(0);
}
return 0;
}
\ No newline at end of file