Question: The software I use is Eclipse, please teach me how to write it on Eclipse. Write a method that checks whether the input string or
The software I use is Eclipse, please teach me how to write it on Eclipse.

Write a method that checks whether the input string or a sentence (a string with spaces) is a palindrome or not. The method should be case insensitive and should ignore spaces. Write a test program that prompts the user to input a string and invokes this method. Some example runs are: Enter the input string: madam Input string madam is a palindrome Enter the input string: banana Input string banana is NOT a palindrome Enter the input string: Race Car Input string Race Car is a palindrome Enter the input string: TooHOT to hoot Input string Too HOT to hoot is a palindrome
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
