So I was doing the challenge and came up with this code :
int main()
{
do
{
PrintIntro();
PlayGame();
} while (AskToPlayAgain());
return 0; //exit application
}
I was quite surprised watching the rest of the video and seeing we need to add another boolean, is there any downside for what I did? Testing the programs there seems to be no problems, but maybe for future coding?
Thank you