serie10/palindrome.cpp
bool isPalindrome(string word) {
    for (int i = 0; i < (int)word.length() / 2; ++i) {
        if (tolower(word[i]) != tolower(word[((int)word.length() - 1) - i])) {
            return false;
        }
    }
    return true;
}
/*
	Check if a given string is a palindrome.
	A palindrome is a word, number, phrase, or other sequence of characters 
	which reads the same backward as forward.
*/
Check if a given string is a palindrome.
A palindrome is a word, number, phrase, or other sequence of characters
which reads the same backward as forward.
Check if a given string is a palindrome . A palindrome is a word number phrase or other sequence of characters which reads the same backward as forward .
bool isPalindrome(string word) {
    for (int i = 0; i < (int)word.length() / 2; ++i) {
        if (tolower(word[i]) != tolower(word[((int)word.length() - 1) - i])) {
            return false;
        }
    }
    return true;
}
bool isPalindrome ( string word ) { for ( int i = 0 ; i < ( int ) word . length ( ) / 2 ; ++ i ) { if ( tolower ( word [ i ] ) != tolower ( word [ ( ( int ) word . length ( ) - 1 ) - i ] ) ) { return false ; } } return true ; }
Check if a given string is a palindrome.
Check if a given string is a palindrome .