Jewon Choi

Add : Exit Function

1 /Project1/.vs/ 1 /Project1/.vs/
2 -.gitignore 2 +/Project1/x64/
......
...@@ -4,7 +4,13 @@ using namespace std; ...@@ -4,7 +4,13 @@ using namespace std;
4 4
5 int main() 5 int main()
6 { 6 {
7 + while (1)
8 + {
7 string a; 9 string a;
8 cin >> a; 10 cin >> a;
9 cout << endl << a; 11 cout << endl << a;
12 +
13 + if (a == "exit")
14 + break;
15 + }
10 } 16 }
...\ No newline at end of file ...\ No newline at end of file
......