Objective: To examine a user-entered string to determine if it\'s a palindrome. A palindrome is a word that is spelled the same forward and backward, such as \"radar\" or \"madam.\" Your program should ask the user to enter a word, and then tell the user whether or not that word is a palindrome. Your program doesn\'t need to determine whether or not the word is in the English language. But you can assume that the word is made up of lower-case letters only, and that it is no more than 20 letters long. So for example your program would determine that the word \"abcdefghijjihgfedcba\" is a palindrome. Here is some sample output from the program: Please enter a word: radar The word you entered, \'radar\' is a palindrome. bash-2.04$ a.out Please enter a word: abccba The word you entered: \'abccba\' is a palindrome. bash-2.04$ a.out Please enter a word: abcddxba The word you entered: \'abcddxba\' is not a palindrome. Requirements: Your program must use at least one function in addition to main. You must use a c-string (null-terminated character array) to store the word the user enters (as we have been doing all semester). You are not allowed to use the class \"string\" in this program. To determine how many characters are in a c-string, use the strlen function. You will need to \"#include \", and then if you have a c-string called \"str\" you can store its length in the variable \"len\" you would write: \"len = strlen(str);\" Test your program with all of the above test cases. Save both the source code and the output it produced after you compiled and ran it. You should save these in a plain text file with a file extension of either .txt or .cpp. Put comments at the top of your program with your name, the name of your C++ source file, the name of this assignment and class (CS 110A Lab 5), and a brief description of what the program does. Format it so that it is readable and professional. Follow the standard conventions for indentation, meaningful variable names, etc. like the textbook. Solution #include<stdio.h> #include<cstring> int isPalindrome(char word[]) { int length,i,j; length=strlen(word); i=0; j=length-1; while(i<length/2) { if(word[i]!=word[j]) return 0; i++; j--; } return 1; } int main() { char input_word[21]; printf(\"Please enter a word:\"); scanf(\"%\",input_word); if(isPalindrome(input_word)) printf(\"The word you entered,\'%\' is a palindrome.\ \",input_word); else printf(\"The word you entered,\'%\' is not a palindrome.\ \",input_word); return 0; } .