Hello All,
Here is my for loop code:
(n.b. I didn’t like the hanging string return so that’s why I have the PrintGuess(GetGuess()); line)
int main()
{
PrintIntro();
int numberOfGuesses = 5;
for (int guessIndex = 0; guessIndex < numberOfGuesses; guessIndex++)
{
PrintGuess(GetGuess());
}
return 0;
}