Lecture 15 Challenge with style

Here’s my solution for lecture 15’s test challenge. You’ll notice that my earlier cout section is seperated into 4 lines instead of 3. I liked it better that way. It seems easier to read. I also included a text line reading "your guess was: " so that it looked a little bit neater and tossed an extra endl in there so that “Press any key to continue” is on its own line.

Privacy & Terms