Array-promo

Question

Frequency of 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
There are 5 non-Palindrome word(s) in given sentence
				
			

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 *