Write a program that takes a sentence as an input and checks whether that sentence is a
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that takes a sentence as an input and checks whether that sentence is a palindrome. A palindrome is a word, phrase, or sentence that is symmetrical; that is, it is spelled the same forward and backward. Examples are “otto”, “mom”, and “Able was I ere I saw Elba”. Your program should be case insensitive; that is, “Otto” should also be counted as a palindrome.
Related Book For
Data Structures and Algorithms in Java
ISBN: 978-1118771334
6th edition
Authors: Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser
Posted Date: