이학주

exit

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