+ 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
2 Respostas
+ 1
Here are mines.
The return is textual, not boolean, but it works properly:
https://code.sololearn.com/c8OLa6oPvk6V/?ref=app
https://code.sololearn.com/cKX1twtIeLb0/?ref=app
https://code.sololearn.com/cIv01PihW4aq/?ref=app
https://code.sololearn.com/ckzKZUhvplvr/?ref=app
https://code.sololearn.com/cdb28fBq2f90/?ref=app
https://code.sololearn.com/c1i11OZmzrl1/?ref=app
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.