When I run the Acey Deucy game (end of Chapter 3), it works ok except for the following section:
// The game is over
printf("The game is over. Your final score is %i\n", bank);
As soon as the game ends (whether I win or lose), the console window exits immediately without any message appearing. Why?