string[] name = new string[] { "吴淞" ,"钱东宇","浮沉","陈璐", "周蕊","林日新" };
int[] score = new int[] { 60, 56, 90, 89, 13, 56 };
int max = 0;
for(int i=0;i<score.Length;i++)
if (score[i]>max)
{
max = score[i];
Console.WriteLine("{0}的成绩最高,是{1}", name[i], max);
}
weibo_慕容4187071
相关分类