摘要: import java.util.Scanner; public class Promble19 { public static int[] printYangHui(int col){ int space=(col+1)*col/2; int[] a=new int[space+1]; a[0]= 阅读全文
posted @ 2019-03-25 23:17 盛怒向善 阅读(525) 评论(1) 推荐(0) 编辑
摘要: package book;import java.util.Scanner;//导入数据包,为实现N的输入public class JangCai { public static void main(String args[]){ System.out.println("for循环实现n的阶乘"); 阅读全文
posted @ 2019-03-25 23:08 盛怒向善 阅读(355) 评论(2) 推荐(0) 编辑