My Solution for isLowercase() --> 52 of section 2

bool FBullCowGame::IsLowercase(FString Word) const
{
for (auto Letter : Word) //loop through letters in the guess
{
if (islower(Letter) == false) //see if letter is lower case --> islower() method
{
return false; //if letter is not lower case return false
}
}

return true;

}

Privacy & Terms