Palindrome Assignment

 

Write a program that makes use of the following method to determine if a string is a palindrome:

 

public static boolean isPalindrome(String original)

 

The method should return true if the string reads the same forwards and backwards (for instance:  madam or noon).

 

Make sure that your program can determine if the alphabetic characters in a string that also contains non-alphabetic or numeric characters are palindromic.  For example, “A man, a plan, a canal- Panama!” is palindromic when considered without the punctuation or capitalization. The helper functions toUpperCases and toLowerCase hould be used prior to processing the original string.

 

Good luck