标签:isa system ack void sys out i++ pac nbsp
package Yanghuisanjiao;
public class Yanghuisanjiao {
public static void main(String args[]) {
int[][] b=new int [10][10];
for (int i=0; i<10; i++) {
for (int j=0; j<10; j++) {
b[i][0]=1;
b[i][i]=1;
}
}
for(int i=1;i<10;i++)
for(int j=1;j<i;j++)
b[i][j]=b[i-1][i-1]+b[i-1][j];
for(int i=0; i<10; i++) {
for(int j=0;j<10;j++)
System.out.print("\t"+b[i][j]);
System.out.println();
}
}
}
标签:isa system ack void sys out i++ pac nbsp
原文地址:http://www.cnblogs.com/2668644894qq/p/6629439.html