Conteúdo do Curso
Java Extended
Java Extended
Character Indices Sum Challenge
Tarefa
Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum
. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.
Obrigado pelo seu feedback!
Character Indices Sum Challenge
Tarefa
Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum
. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.
Obrigado pelo seu feedback!
Character Indices Sum Challenge
Tarefa
Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum
. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.
Obrigado pelo seu feedback!
Tarefa
Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum
. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.