My code after refactoring code to playgame function and side effect

I had already taken care of the side effect in my code by calling the GetGuess function in the cout statement back in main, which is now in the PlayGame function.

Privacy & Terms