最贊回答 / lider521
///終于明白了,改正后代碼如下:各位參考吧。using System;using System.Collections.Generic;using System.Text;namespace projGetMaxScore{??? class Program??? {??????? static void Main(string[] args)??????? {??????????? string[,] Score = new string[2,8]{{"吳松","錢東宇","伏晨","陳陸","周蕊"...
2018-12-01
已采納回答 / 水漪_
//你的new數組語法錯了,然后max這個變量要全局變量,輸出語句也放錯地方了這個是我修改你代碼之后的。你可以看看。string[] name = new string[] { "吳松", "錢東宇", "伏晨", "陳路", "周蕊", "林日鵬", "何昆", "關欣" };? ? ? ? int[] score = new int[]{ 89, 90, 98, 56, 60, 91, 93, 85 };? ? ? ? int max = 0;? ? ? ? string topname=null;?...
2018-11-29
最新回答 / qq_慕的地6528064
double[] y=new double[3];這句話,是初始化1個double類型的數組,這個數組里面有3個數,y[0],y[1],y[2],這3個,但是沒有賦值,這3個都是空的,或者為0的
2018-11-22
最新回答 / _小明一生之敵
你的數組錯了"關羽,","張飛,","趙云,","馬超,","黃忠,"。換這個進去就對的 一些要主頁那些輸出的標點符號。也不中的這個能不能改 分割符
2018-11-19
最贊回答 / 慕粉1469974052
string[] name=new string[]{"關羽","張飛","趙云","馬超","黃忠"}后面沒加;?Console.Write(name[i]=",");應該是?Console.Write(name[i]+",");
2018-11-10