爱吃火腿肠 https://www.cnblogs.com/ichihtc/

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2022年3月13日

摘要: public class Main { public static void main(String[] args) { fun(); } public static void fun(){ int n,j; //float s=0.0,t=1.0;//此行语句有错误,改正后填到下侧空格内 阅读全文
posted @ 2022-03-13 17:30 爱吃火腿肠 阅读(1235) 评论(0) 推荐(0)

摘要: 水仙花数是指一个N位正整数(7≥N≥3),它的每个位上的数字的N次幂之和等于它本身。例如:153=13+53+33。 要求编写程序,计算所有N位水仙花数。 阅读全文
posted @ 2022-03-13 15:21 爱吃火腿肠 阅读(1179) 评论(0) 推荐(0)