Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
imsamroy authored Jul 24, 2022
1 parent db7a44d commit 95a3c31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ int main()

else {
cout << "Invalid input, please re-run the game with a valid choice" << endl;
cout << "Press enter to exit (if you are on a Windows machine)" << endl;
return 0;
}

Expand Down Expand Up @@ -92,6 +93,7 @@ int main()
}
else {
cout << "Invalid input, please re-run the game with a valid choice" << endl;
cout << "Press enter to exit (if you are on a Windows machine)" << endl;
return 0;
}

Expand Down Expand Up @@ -134,4 +136,5 @@ int main()
cout << "Invalid input, please retry with 'y' or 'n'" <<endl;
}
cout << "Press enter to exit (if you are on a Windows machine)" << endl;
getch();
}

0 comments on commit 95a3c31

Please sign in to comment.