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); }
- 4 回答
- 0 关注
- 1368 浏览
添加回答
举报
0/150
提交
取消