特牛网址导航

无聊写的杨辉三角类-CSDN博客

网友收藏
class test1{ public test1(int level){//构造函数 this.yanghui=new int[level][]; for(int i=0;i this.yanghui[i]=new int[i+1]; } public void yangHui(){ for(int k=0;k yanghui[k][0]=1;