It Works but is diffrent then your solution is this also ok?
int main()
{
do{
PrintIntro();
PlayGame();
} while (AskToPlayAgain());
return 0;
}
It Works but is diffrent then your solution is this also ok?
int main()
{
do{
PrintIntro();
PlayGame();
} while (AskToPlayAgain());
return 0;
}
I had the same question about this one. I don’t see what is wrong with it and it looks a lot more clean in my opinion.
Same here it looks better and does the same job the only thing i keep thinking is if there is a reason why we shouldn’t do it this way.