level 1
dailiang369
楼主
#include "stdio.h"
{
Int j,i,s=0;
Int a[3][3]={1,2,3,4,5,6,7,8,9};
For (i=0;i<3;i++)
For (j=0;j<i;j++)
S=s+a[i][j];
Printf ("%d",s);
}
运行结果=
2012年05月26日 12点05分
1
{
Int j,i,s=0;
Int a[3][3]={1,2,3,4,5,6,7,8,9};
For (i=0;i<3;i++)
For (j=0;j<i;j++)
S=s+a[i][j];
Printf ("%d",s);
}
运行结果=
