提交不通过
using System;
using System.Collections.Generic;
using System.Text;
namespace projGetMaxScore
{
class Program
{
static void Main(string[] args)
{
string [] names = {"吴松","钱东宇","伏晨","陈陆","周蕊","林日鹏","何昆","关欣"};
int [] scores = {89,90,98,56,60,91,93,85};
int max = scores[0];
int k=0;
for(int i=0;i<scores.Length;i++)
{
if(max <= scores[i])
{
max = scores[i];
k=i;
}
}
Console.WriteLine("分数最高的是{0},分数是{1}",names[k],max);
}
}
}