摘要: console.log('请输入三个数:'); let num1 = readline.question() - 0; let num2 = readline.question() - 0; let num3 = readline.question() - 0; let num4; if (num1 阅读全文
posted @ 2018-05-19 13:35 YKmaster 阅读(4245) 评论(0) 推荐(0) 编辑
摘要: ...js //输入一个三位数,水仙花数就是个位的三次方+十为的三次方+百位的三次方之和等于本身 console.log('请输入一个三位数:'); let a = readline.question(); if (a > 100 && a <= 999) { if (parseInt(a / 10 阅读全文
posted @ 2018-05-19 13:33 YKmaster 阅读(1865) 评论(0) 推荐(0) 编辑