Write a program to accept a word. Check and display whether the word is a palindrome or only a special word or none of them.

Write a program to accept a word. Check and display whether the word is a palindrome or only a special word or none of them.


 *Special words are those words that start and end with the same letter. eg comic, window

**All Palindromes are special words but all special words are not a palindrome

***Palindrome words are those words which are read the same from left to right and vice-versa. eg mam, level, civic, rotator, madam, etc.










Post a Comment

0Comments