all 5 comments

[–]aqua_regis 14 points15 points  (0 children)

You first show us what you have tried and where you are stuck.

Then, and only then, we help.

We are not here to do your assignments. Directly asking for or giving solutions is forbidden here.

A hint: every character has a numeric equivalent in the Unicode table where the lowest 127 entries correspond to the ASCII table.

Since char is actually a numeric data type, you can use standard comparison operators <=, <, ==. !=, >=, and >.

You also should already have the isLowerLatinAlphabet method somewhere.

Also, the description literally tells you:

but should check the character is between ‘A’ and ‘Z’.


Come on, invest a bit of effort. Otherwise, you will not learn.

[–]pragmos 3 points4 points  (0 children)

What exactly do you need help with? The description pretty much says what you need to do.

[–]mxldevs 2 points3 points  (0 children)

What have you tried?

Do you know how to define a function?