這個是什么問題呢
static void Main(string[] args)
? ? ? ? {
? ? ? ? ? ? int x=0;
? ? ? ? ? ? int y=0;
? ? ? ? ? ? int[] mane={89,90,98,56,60,91,93,85};
? ? ? ? ? ? string[] mane2={"吳松","錢東宇","付晨","陳陸","周芯","螺絲孔","水電費","asdf"};
? ? ? ? ? ? for(int i=0;i<mane.Length;i++)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? if(x<mane[i])
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? x=mane[i];
? ? ? ? ? ? ? ? ? ? y=i;
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ??
? ? ? ? ? ? }
? ? ? ? ? ? Console.Write("分散最高的是"+mane2[y]+","+"分數是"+mane[y]);
? ? ? ? }
2020-12-31
符號和文字有錯誤,其它的沒問題