fork download
  1.  
  2. Number=Number/10
  3. Remainder=Number/10
  4. while(Number==0) do
  5. else
  6. Reverse=Remainder*10+Reverse
  7. input Number
  8. Remainder=Number%10
  9. Reverse=0
  10. display "Palindrome"
  11. display "Not a Palindrome"
  12. Number=Number%10
  13. end-if
  14. if(Temp==Reverse) then
  15. end-while
  16. Temp=Number
  17. while(Number!=0) do
  18. Reverse=Reverse*10+Remainder
  19. Pseudo-code
Success #stdin #stdout 0.02s 26052KB
stdin
Standard input is empty
stdout
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