Input a phrase from the keyboard and output whether or not it isa palindrome.
For example:
1. If the input is
Madam I'm Adam
Your output should be
\"Madam, I'm Adam\" is a palindrome
2. If your input is
Going to the movies?
Your output should be
\"Going to the movies?\" is not a palindrome
Note the quotes in the output line.
Code language java using JGrasp