Array-promo

Question

print non-palindrome words in a given sentence.

				
					A non-Palindrome words are words that are not same backward and forward

example:

pop reads same, backward or forward so it a Palindrome word

mom reads same, backward or forward so it a Palindrome word

cat does not spell same backward and forward so cat is an non-Palindrome word

Enter a sentence:Mom and dad are not at home
Non-Palindrome words in given sentence:
AND
ARE
NOT
AT
HOME
				
			

Share code with your friends

Share on whatsapp
Share on facebook
Share on twitter
Share on telegram

Code

Coding Store

Leave a Reply

Your email address will not be published. Required fields are marked *