提交后显示,请检查 分数。。。。。。。 然而输出是对的呀,请问哪有问题,还是说,系统有问题。谢谢
这里是源代码
string[] name = new string[]{"吴松","钱东宇","伏晨","陈陆","周蕊","林目鹏","何昆","关欣"};
int[] score = new int[]{89,90,98,56,60,91,93,85};
int max=0;
string Name=null;
for(int i=0;i<score.Length;i++)
{
if(score[i] > max)
{
max = score[i];
Name = name[i];
}
}
Console.Write("分数最高的是" + Name +"," +"分数是" + max);