Number=Number/10
Remainder=Number/10
while(Number==0) do
else
Reverse=Remainder*10+Reverse
input Number
Remainder=Number%10
Reverse=0
display "Palindrome"
display "Not a Palindrome"
Number=Number%10
end-if
if(Temp==Reverse) then
end-while
Temp=Number
while(Number!=0) do
Reverse=Reverse*10+Remainder
Pseudo-code
Ck51bWJlcj1OdW1iZXIvMTAKUmVtYWluZGVyPU51bWJlci8xMAp3aGlsZShOdW1iZXI9PTApIGRvCmVsc2UKUmV2ZXJzZT1SZW1haW5kZXIqMTArUmV2ZXJzZQppbnB1dCBOdW1iZXIKUmVtYWluZGVyPU51bWJlciUxMApSZXZlcnNlPTAKZGlzcGxheSAiUGFsaW5kcm9tZSIKZGlzcGxheSAiTm90IGEgUGFsaW5kcm9tZSIKTnVtYmVyPU51bWJlciUxMAplbmQtaWYKaWYoVGVtcD09UmV2ZXJzZSkgdGhlbgplbmQtd2hpbGUKVGVtcD1OdW1iZXIKd2hpbGUoTnVtYmVyIT0wKSBkbwpSZXZlcnNlPVJldmVyc2UqMTArUmVtYWluZGVyClBzZXVkby1jb2Rl