摘要: 1.打印输出所有的“水仙花数”,所谓“水仙花数”是指一个3位数,其中各位数字立方和等于该数本身。例如,153是一个“水仙花数”。 代码 public class Shuixianhua{ public static void main(String[]args) { int a,b,c; for(i 阅读全文
posted @ 2019-09-14 19:53 贺勇 阅读(156) 评论(0) 推荐(0) 编辑