+ 1
Palindrome string
To check the string is palindrome or not https://code.sololearn.com/c1rKv2KY2Wbx/?ref=app
3 ответов
+ 6
Suraj Patil ,
not a mistake, but there is a string variable 'i' declared that is never used. you can remove this line (line 15)
+ 1
Line 16:
if( original == str )
* Code had been modified from its origin.
0
Actually,when I ran the code it worked perfectly. Would you specify where the problem is?