+ 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
4 Answers
+ 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";
+ 2
Tanmay Prakash Powar , ok please show me some inputs and the resultant outputs that you considered as wrong. thanks!
+ 2
i solved it thanks for help
+ 1
yes but still 3 are coming wrong