摘要:
1 public class exercise08{ 2 //编写一个main方法 3 public static void main(String[] args){ 4 /*输出1-100之间的不能被5整除的数,每5个一行 5 6 思路分析 7 1.先输出1-100的所有数 8 2.然后过滤输出不 阅读全文
摘要:
1 public class exercise08{ 2 //编写一个main方法 3 public static void main(String[] args){ 4 /* 5 4.判断一个整数是否是水仙花数,所谓的水仙花数是指一个3位数, 6 其各个位上数字立方和等于其本身。 7 例如: 15 阅读全文