Array-promo

Question

Input a sentence from the user and print palindrome words in a given sentence.

				
					Palindrome words are words that are the same backward and forward.

example:

pop reads same, backward or forward

mom reads same, backward or forward.


Enter a sentence
mom and dad are not at home
Palindrome words in sentence:
mom
dad
				
			

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 *