摘要:
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
重生!!!
阅读(136)
评论(0)
推荐(0)
摘要:
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
重生!!!
阅读(264)
评论(0)
推荐(0)
浙公网安备 33010602011771号