我这里到底咋啦啊
using System;
using System.Collections.Generic;
using System.Text;
namespace projGetMaxScore
{
class Program
{
static void Main(string[] args)
{
string[] name = new string[8] { "吴松", "钱东宇", "伏晨", "陈陆", "周蕊", "林日鹏", "何昆", "关欣" };
int[] score = new int[8] { 89, 90, 98, 56, 60, 91, 93, 85 };
int max = 0;
for (int a = 0; a < score.Length; a++)
{
if (score[max] < score[a])
{
max = a;
}
}
Console.WriteLine("分数最高的是"+name[max]+","+"分数是"+score[max]);
}
}
}