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