Question: Write a program that determines whether or not a string is a palindrome. A palindrome is a word or phrase that is the same both

Write a program that determines whether or not a string is a palindrome. A palindrome is a word or phrase that is the same both forward and backwards.
If the word is a palindrome, print {string} is a palidrome. Otherwise, print {string} is not a palindrome. You must use a loop to do this problem You may assume that the word or phrase will not contain spaces and your program must be case insensitive. If you want the extra challenge, try making the program work with spaces!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!