+ 4

My code cannot execute else condition. How do I correct it?

It is displayed only result of if condition. https://code.sololearn.com/cUz93AiI4Y40/?ref=app

21st Mar 2022, 4:38 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
2 Respostas
+ 2
Task Description says to read 4 string input, but here you only read once before you check whether it was a palindrome string.
21st Mar 2022, 4:59 PM
Ipang
0
Check the break statements
21st Mar 2022, 4:54 PM
Faisal Issaka
Faisal Issaka - avatar