Console.WriteLine("平均分是:{0}",avg);
Console.Write("高于平均分的有:\n");
for (int s = 0;s < score.Length;s++) {
if (score[s] > avg) {
index = s;
Console.Write(name[index] + "\t");
}
}
                
            Console.Write("高于平均分的有:\n");
for (int s = 0;s < score.Length;s++) {
if (score[s] > avg) {
index = s;
Console.Write(name[index] + "\t");
}
}
 
             
        










