I did it like this, and I think it looks cleaner. Is there a reason not to do this that isn’t apparent from this example?
int main()
{
do {
PrintIntro();
PlayGame();
}
while (AskToPlayAgain());
return 0;
}
I did it like this, and I think it looks cleaner. Is there a reason not to do this that isn’t apparent from this example?
int main()
{
do {
PrintIntro();
PlayGame();
}
while (AskToPlayAgain());
return 0;
}
It’s fine. Pretty sure there’s an annotation in the video stating this.