我這里到底咋啦啊
using System;
using System.Collections.Generic;
using System.Text;
namespace projGetMaxScore
{
??? class Program
??? {
??????? static void Main(string[] args)
??????? {
??????????? string[] name = new string[8] { "吳松", "錢東宇", "伏晨", "陳陸", "周蕊", "林日鵬", "何昆", "關(guān)欣" };
??????????? 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("分?jǐn)?shù)最高的是"+name[max]+","+"分?jǐn)?shù)是"+score[max]);
??????? }
??? }
}
2018-12-13
輸出的,是中文輸入。hh不知道對不對