At the end of the do while loop tutorial the code looks like this:
bool bPlayAgain = false;
do {
PrintIntro();
PlayGame();
bPlayAgain = AskToPlayAgain();
}
while (bPlayAgain);
But here is my question, isn’t it simplier to make the code like this: ?
do {
printIntro();
playGame();
}
while (askToPlayAgain());


