新手求助谢谢啊
我这个程序怎么运行不了啊,软件一直在运行,谁能帮我看一下,到底哪里出了问题啊/* Note:Your choice is C IDE */
#include "stdio.h"
void main()
{int a[50][3]={{3,5,5},{0,9,2},{4,0,4},{6,7,9},{8,9,3},
{8,9,2},{1,0,8},{9,9,9},{5,7,5},{9,4,0},
{1,1,4},{5,7,1},{2,3,2},{4,5,3},{1,4,5},
{9,6,8},{5,0,2},{0,6,3},{0,7,1},{0,9,7},
{0,4,9},{9,2,9},{4,6,0},{6,1,1},{2,5,0},
{1,4,7},{7,6,3},{6,4,4},{4,6,1},{0,8,1},
{7,2,1},{0,1,0},{4,5,3},{5,4,0},{3,6,0},
{2,4,0},{3,3,5},{0,9,9},{9,3,5},{1,7,0},
{8,7,1},{7,7,5},{0,3,8},{3,2,1},{6,8,1},
{1,4,4},{4,2,7},{5,7,4},{2,2,7},{7,5,7}};
int i,j;
float d[3][3]={0,0,0,0,0,0,0,0,0};
for (i=0;i<49;j++)
{if(a[i][0]>6)d[0][0]++;
else if(a[i][0]<3)d[0][2]++;
else d[0][1]++;
}
for (i=0;i<49;j++)
{if(a[i][1]>6)d[1][0]++;
else if(a[i][1]<3)d[1][2]++;
else d[1][1]++;
}
for (i=0;i<49;j++)
{if(a[i][2]>6)d[2][0]++;
else if(a[i][2]<3)d[2][2]++;
else d[2][1]++;
}
for (i=0;i<3;i++)
for (j=0;j<3;j++)
{printf("%3f",d[i][j]);
}
}