This is how i did the for loop

void PrintIntro();
string GetGuessAndPrintBack();
constexpr int WORD_LENGTH = 5;

//entry point for application
int main()
{
	PrintIntro();
	
	
	for (int i=1; i <= WORD_LENGTH; i++)
	{
		GetGuessAndPrintBack();
	}
	
	return 0;
}
1 Like

Interesting approach! Great job!

1 Like

Privacy & Terms