Contenido del Curso
Java Extended
Java Extended
Character Indices Sum Challenge
Tarea
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.
¡Gracias por tus comentarios!
Character Indices Sum Challenge
Tarea
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.
¡Gracias por tus comentarios!
Character Indices Sum Challenge
Tarea
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.
¡Gracias por tus comentarios!
Tarea
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.