Java Language: Java code to check whether a string is a palindrome.

preview_player
Показать описание
The problem is to write a program that prompts the user to enter a string and reports whether the string is a palindrome. One solution is to check whether the first character in the string is the same as the last character. If so, check whether the second character is the same as the second-to-last character. This process continues until a mismatch is found or all the characters in the string are checked, except for the middle character if the string has an odd number of characters.
Рекомендации по теме
Комментарии
Автор

Sir i put my mail in the other video plz help me

Ilemaurice
visit shbcf.ru