My loop code

int main()
{
//variable initialization section
string Guess = “”;
int limit = 5;

//prinf greeting
PrintInfo();

//Loop and take guess limit number of times
for (int count = 1; count <= limit; count++)
{ 
	//Get the guess from the user
	Guess = GetGuess();

	//Print the guess back to the user
	PrintBack(Guess);
}

return 0;

}

Privacy & Terms