+ 1

hey can any one tell what's wrong in this code it coming error only 1 correct and all wrong in cpp challenge Palindrome Numbers

https://code.sololearn.com/cxoNf4UXaXvN/?ref=app

16th Dec 2020, 6:24 AM
Tanmay Prakash Powar
Tanmay Prakash Powar - avatar
4 Respostas
+ 5
Tanmay Prakash Powar , there is something hard-coded in your program. for each valid palindrome you get the same answer because of this: if(isPal(num)) cout<<"8888 is a palindrome"; remove the "8888" and do it like this: .... cout << num << " is a palindrome";
16th Dec 2020, 11:39 AM
Lothar
Lothar - avatar
+ 2
Tanmay Prakash Powar , ok please show me some inputs and the resultant outputs that you considered as wrong. thanks!
17th Dec 2020, 11:47 AM
Lothar
Lothar - avatar
+ 2
i solved it thanks for help
17th Dec 2020, 2:33 PM
Tanmay Prakash Powar
Tanmay Prakash Powar - avatar
+ 1
yes but still 3 are coming wrong
17th Dec 2020, 4:19 AM
Tanmay Prakash Powar
Tanmay Prakash Powar - avatar