using System;using System.Collections.Generic;using System.Text;namespace projGetMaxScore{ class Program { static void Main(string[] args) { string[,] score ={{"吴松","钱东宇","伏晨","陈陆","周蕊","林日鹏","何昆","关欣"}, { 89,90,98,56,60,91,93,85}}; bool hasNopass = false; for (int i = 0; i < score.Length; i++) { if(score[i]>98) { hasNopass=true; } } if(hasNopass) else Console.WriteLine("分数最高的是{0},分数是{1}",score[0,3],score[1,3]); } }}
目前暂无任何回答
- 0 回答
- 0 关注
- 1138 浏览
添加回答
举报
0/150
提交
取消