Hi everyone, I am new to this programming and I was wondering if someone, well anyone can help me. I have this assignment due in a few days and I don't know where to start.
The challenge is: Evaluate if the word or sentence entered by the user is a palindrome. A palindrome is a word or sentence which when spelt backwords or fowards is the same.
Details:
1. Prompt the user to enter a possible palindrome.
a. allow the user to enter a word or sentence length 1 to 80
characters.
2. Evaluate if the word or sentence is a plaindrome.
3. Allow the user should stop the program at any time.
4. When the program is stopped by the user, display the following:
a. Number of words or sentences entered.
b. Number of palindromes encountered.
If anyone can help me, I would really appreciate it.
Thank you.