L48 Challenge - Is using if (Letter != tolower(Letter)) clunky?

So I managed to get the code to run as intended but using a different, longer process than what was shown in the lecture video:

image

I wanted to know whether my if/else statement within the for loop is an unnecessarily longer way of searching the word for uppercase letters. Is there anything detrimental to leaving my code like this?

Thanks,
Andy

That was also what I did first, so I have no idea… :slight_smile:

Privacy & Terms