sju0924

add exit and branch exit

1 +#include <iostream>
2 +#include <string>
3 +using namespace std;
4 +
5 +int main()
6 +{
7 + string str;
8 + while(1){
9 + cin>>str;
10 + if(str == "exit") exit(0);
11 + }
12 +
13 +}
...\ No newline at end of file ...\ No newline at end of file
No preview for this file type