java程序
public class ChengFaKouJue
{
public static void main(String args[])
{
int t;
int[][] xx;
xx=new int[9][];
xx[0]=new int[1];
xx[1]=new int[2];
xx[2]=new int[3];
xx[3]=new int[4];
xx[4]=new int[5];
xx[5]=new int[6];
xx[6]=new int[7];
xx[7]=new int[8];
xx[8]=new int[9];
for(int n=0;n<9;n++)
for(int m=0;m<=n;m++)
t=xx[n]*xx[m];
System.out.println("t="+t);
}
}
{
public static void main(String args[])
{
int t;
int[][] xx;
xx=new int[9][];
xx[0]=new int[1];
xx[1]=new int[2];
xx[2]=new int[3];
xx[3]=new int[4];
xx[4]=new int[5];
xx[5]=new int[6];
xx[6]=new int[7];
xx[7]=new int[8];
xx[8]=new int[9];
for(int n=0;n<9;n++)
for(int m=0;m<=n;m++)
t=xx[n]*xx[m];
System.out.println("t="+t);
}
}
pigeons
2007-12-10 20:15:21
评论:0
阅读:10
引用:0

