Challenge Solution

Solution to challenge as requested. Good SE background but totally new to C++

Separated out guess to a separate function, was surprised that I have to declare the GuessWord function at the top if I have it after the main function. Did a simple while loop to continue guess/echo until player types exit.

Appreciate Ben’s inclusion of little side comments like “\n” not flushing the output butter. Also make sure to end the GuessWord output with endl so it flushes that buffer at each loop.