New challenge **** palindrome sentence | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

New challenge **** palindrome sentence

Write a program such that a sentence reads backward and forward. Output should either be true or false. example input: King , are you glad you are King? output: false

16th Nov 2017, 8:28 AM
Gerald
2 Answers
0
And, and advice. You should revise the concept of palindrome. A palindrome is something like 121, abba, dear Raed (ignoring case). You must consider the words reversed, not only backward read.
12th Dec 2017, 3:14 PM
Jonathan Álex
Jonathan Álex - avatar