I need help with a problem

Does anyone know how to solve this problem?

“Determine the letter with the largest gap. A gap is the number of letters that is different from the letter that is determined.”

If someone could help me, I would be very glad.


1 Like

Look at the ascii value

Using int(letter) iirc

Take the difference

1 Like

You might find the documentation for char and String.charAt() helpful.

There are some additional overview concepts at the beginning of the Text Tutorial:

1 Like