哪里有问题
string []name=new string[8]{"景珍","林惠洋","成蓉",,"洪南昌","龙玉民","单江开","田武山","王三明"};
int []fennshu=new int[8]{90,65,83,70,46,81,100,68};
int pj =0;
int sum=0;
for(int x=0;x<fenshu.Length;x++)
{
sum+=fenshu[x];
}
pj=sum/fenshu.Length;
Console.WriteLine("平均分是{0},高于平均分的有:",pj);
for(int y=0;y<name.Length;y++)
{
if(fenshu[y]>pj)
{
Console.Write(name[y]+" ");
}
}