Song

exit function add in A.cpp

Showing 1 changed file with 2 additions and 0 deletions
......@@ -7,6 +7,8 @@ int main()
string input;
cout << "Inputs : ";
cin >> input;
if (input == "exit")
exit(0);
cout << input;
return 0;
......