Okay! So I’ve been away for a little while and trying to get into this again. Going through the code, the first thing that got me is “String Guess = GetGuess();” in the “void PlayGame()” function.
My mind was asking: when are we actually asking for the guess now?
So my understanding is that we are simultaneously defining “string Guess” as “GetGuess();”, AND running "GetGuess();
Is this correct?
I am also unsure about return functions. The last line in the “void PrintIntro()”-function is "return;"
Is this just telling it to go back to the “int main” and continue to the next line of code?
Then why isn’t there a “return;” in “void PlayGame()”-function? Does it have something to do with the fact that the next line of code in “int main” is “return 0;” ?
And while we’re at it, what does “return Guess;” at the end of “string Getguess()” do?