摘要:
完全数 : 其所有因子的的和等于该数(包括1,但是不包括该数字本身) package judgment;/** * 求1~1000的所有完全数 */public class Judgment { public static void main(String[] args) { for (int i 阅读全文
posted @ 2021-04-25 14:00
小盆友在学习
阅读(734)
评论(0)
推荐(0)
摘要:
水仙花数: 各位数字的立方和等于这个三位数本身 代码示例: package judgment;/** * 求三位数的水仙花数 * 水仙花数:各位数的立方和等于这个数本身 */public class Judgment { public static void main(String[] args) 阅读全文
posted @ 2021-04-25 10:33
小盆友在学习
阅读(387)
评论(0)
推荐(0)

浙公网安备 33010602011771号