Question: using java 2. A palindrome is a word, phrase, or sentence that reads the same backward as forward. Create a program named Sentence Palindrome that

using java
using java 2. A palindrome is a word, phrase, or sentence that

2. A palindrome is a word, phrase, or sentence that reads the same backward as forward. Create a program named Sentence Palindrome that checks if a sentence is a palindrome. Prompt the user for a sentence from standard input, and display whether or not it is a palindrome. Continue asking for input until the user chooses to quit. Sample output: System: Enter a sentence ( to quit): User: A man, a plan, a canal, Panama! System: This sentence is a palindrome! Enter a sentence (q to quit): User: Was it a car or a cat I saw? System: This sentence is a palindrome! Enter a sentence (g to quit): User: You've got a friend in me. System: This sentence is not a palindrome. Enter a sentence (g to quit): User: System: ***End of program*** Notes: build a new version of the string with letters all lowercase, without spaces or special characters recall that there is a numeric value for char data types. The numeric value for lowercase letters range from 97 to 122 where 97 is 'a' and 122 is 'z

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!