Lecture 44

bool FBullCowGame::IsLowercase(FString Word) const
	for(auto Letter : Word)
		if (!islower(Letter))
			return false;
		else { return true; }


This was the actual first time i was able to do a whole exercise successfully on my own. Pretty proud of myself :slight_smile: , i used the not command in order to have return true as the else, think that way i covered the exceptional cases, \0 works at least.

Having a blast, thank you for this.

Please use code formatting

Thank you :slight_smile:

1 Like

Privacy & Terms