求救,,,,完全不知道哪里不对,,,
using System;
using System.Collections.Generic;
using System.Text;
namespace projGetMaxScore
{
class Program
{
static void Main(string[] args)
{
string name[] = new string[] { "吴松", "钱东宇", "伏晨", "陈路", "周蕊", "林日鹏", "何昆", "关欣" };
int score[] = new score[]{ 89, 90, 98, 56, 60, 91, 93, 85 };
for (int i = 0; i < 8; i++)
{
int max = 0;
if (max < score[i])
{
max = score[i];
}
Console.Write("分数最高的是{0},分数是{1}", name[i], max);
}
}
}
}