最新回答 / 渣渣健
console.write("不及格的有:"+score[i]+",") 你这样写 “不及格的有:”也在for循环里面 每循环一次 满足筛选条件 就会打印输出一次
2015-10-08
最赞回答 / qq_宿命卡恩_0
string[] name = { "吴松", "钱东宇", "伏晨", "陈陆", "周蕊", "林日鹏", "何昆", "关欣" };int[] score = { 89, 90, 98, 56, 60, 91, 93, 85 };int maxScore = score[0];string maxName = name[0];for(int i=1;i<8;i++){ if(maxScore<score[i]) { maxScore = score[i]; ...
2015-10-01