let a = Number(prompt("请输入一个五位数"));
let wan=parseInt(a/10000);
let qian=parseInt((a%10000)/1000);
let shi = parseInt((a%100)/10);
let ge = parseInt(a%10);
if(wan==ge&&qian==shi){
document.write(a+"是回文数");
}else{
document.write(a+"不是回文数");
}
let a = Number(prompt("请输入一个五位数"));
let wan=parseInt(a/10000);
let qian=parseInt((a%10000)/1000);
let shi = parseInt((a%100)/10);
let ge = parseInt(a%10);
if(wan==ge&&qian==shi){
document.write(a+"是回文数");
}else{
document.write(a+"不是回文数");
}