My Solution to the Challenge

So here, I took out the part of the code that was printing back the guess, and called it PrintGuessBack. This function takes in a parameter (is that the right terminology?) that is a string, that will have the Guess in it. Since I thought that the function was pretty self explanatory, I decided to delete the comments, as I thought they were now useless. So now my code looks a lot tighter, and hopefully easier to read.

Privacy & Terms