Зміст курсу
Java Extended
Java Extended
Character Indices Sum Challenge
Завдання
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.
Дякуємо за ваш відгук!
Character Indices Sum Challenge
Завдання
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.
Дякуємо за ваш відгук!
Character Indices Sum Challenge
Завдання
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.
Дякуємо за ваш відгук!
Завдання
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.