Question: Write a program to determine if a string is a palindrome. A palindrome is a word or phrase that has the same sequence of

Write a program to determine if a string is a palindrome. A palindrome is a word or phrase that has the same sequence of letters forwards and backwards (ex. Never odd or even). Create a function called IsPalindrome" that accepts a string and returns 1 if the string is a palindrome, or 0 otherwise. Ignore all characters that are not letters. Use pointers to compare characters, one starting at the beginning of the string, the other starting at the end. Ask the user to enter a string and use 'IsPalindrome' to display a message that indicates if the string is indeed a palindrome. For Example: Enter a phrase: A man, a plan, a canal, Panama! This is a palindrome
Step by Step Solution
There are 3 Steps involved in it
include stdio h include ctype h for isalpha function Function to check if a string is a palin... View full answer
Get step-by-step solutions from verified subject matter experts
