var number1 =+prompt('请输入一个大于100的数:');var bai =parseInt(number1 /100);//百位var shi =parseInt(number1 %100/10)//十位var ge = number1 %10//个位
console.log(bai, shi, ge)if((bai **3+ shi **3+ ge **3)== number1){
console.log(number1 +"是水仙花数")}else{
console.log(number1 +"不是水仙花数")}