김다희

AddExitFunction

#include<iostream>
#include<string>
using namespace std;
int main() {
cout << "숫자를 입력해주세요";
int a;
cout << "ÀÔ·Â : " << endl << "(if you enter 'exit', the program will exit)";
string a;
cin >> a;
if (a == "exit")
{
return 0;
}
else
{
cout << "Ãâ·Â : " << a;
}
return 0;
}
......