Instead of just saying GuessCounter < 6 in your for loop, at the top of your function have something like const int NUM_GUESSES = 5 and replace the for loop’s conditional with GuessCounter <= NUM_GUESSES. Makes the code easier to understand and modify later, and I would recommend the <= instead of just < so that the variable’s value is the actual number of times the loop will run, since you’re starting GuessCounter at 1.