03 2018 档案
杨辉三角的 java 编程实现——1.0版本
摘要:public class yanghui_triangle{ \\创建与输出杨辉三角的基础模型 public static void yanghui_create(int a[][],int row){ for(int i=0;i<row;i++){ for(int j;j<a[i].length- 阅读全文
posted @ 2018-03-30 23:15 重生!!! 阅读(133) 评论(0) 推荐(0)
N! 的 java 实现
摘要:public class factorial{ //第一类算法实现 public static int simple_comture(int num){ int sum =1; if(num<0){ System.out.println("负数无法使计算阶乘!"); exit(0);} if(num 阅读全文
posted @ 2018-03-30 19:48 重生!!! 阅读(258) 评论(0) 推荐(0)


点击右上角即可分享
微信分享提示