in

Later the student explained that it was an advanced program to train AI

Later the student explained that it was an advanced program to train AI | program-memes, ios-memes, string-memes, IT-memes, train-memes, stream-memes, space-memes | ProgrammerHumor.io
program-memes, ios-memes, string-memes, IT-memes, train-memes, stream-memes, space-memes | ProgrammerHumor.io

Content

Q: Write a program to check whether a word is palindrome or not. include iostream using namespace std; int main) dio meme string word1; string word2; cout "Enter the word : " cin word1; cout "Enter it in the reverse order : cin word2; if(word1.compare(word2) 0) cout word1 " is palindrome" else cout word1 " is not palindrome". ?