Question: Write a program that checks if a user input is a palindrome.Create a method for each task below:a . Remove all punctuation marks in the
Write a program that checks if a user input is a palindrome.Create a method for each task below:aRemove all punctuation marks in the input string. bRemove all blank spaces in the string. cReverse the order of the string. dCompare the reversed string with the original string. ePrint out the decision. Do not use any internal methodsuch as equals for d
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
