最贊回答 / qq_揚名工作室_bfAGKR
好像是控制臺應用選錯了 2017版的有兩個控制臺一個是控制臺應用(.NET Core)一個是控制臺應用(.NET Framework)我的錯誤是用的控制臺應用(.NET Framework)
2018-09-24
最新回答 / ILIKE學習
? ? ? ? ? ? int[] fs = new int[4];??????????? string[] name = new string[4];??????????? int max = fs[0];??????????? string maxname = null;??????????? int sum = 0;??????????? for (int i = 0; i < name.Length; i++)??????????? {??????????????? Console.Writ...
2018-09-19
最新回答 / masterintel
using System;using System.Collections.Generic;using System.Text;namespace projGetMaxScore{? ? class Program? ? {? ? ? ? static void Main(string[] args)? ? ? ? {? ? ? ? ? //語數外三科 可以用二維數組來寫? ? ? ? ? ?//{{語文成績,數學成績,英語成績}}? ? ? ? ? ? int[,] score = new int[5,...
2018-09-17
已采納回答 / 慕萊塢2375072
?static void Main(string[] args)??????? {??????????? //聲明兩組數組 ;??????????? int[] score =new int[]{89,90,98,86,60,91,93,85};??????????? string[] name = new string []{"吳松","錢東宇","伏晨","陳陸","周蕊","林日鵬","何昆","關欣"};??????????? //聲明分數中的最大值和得分者;??????????? int max...
2018-09-17
最新回答 / Lagerstroemia0106
? ? Console.Write("我的工資是{0}, ?我的稅后工資是{1}" ,salary + prize, salary+prize-tax);
2018-09-17
最新回答 / 慕粉小萌新
max 不是關鍵字,用到max 是因為要查找最高分啊代碼供參考namespace projGetMaxScore{??? class Program??? {??????? static void Main(string[] args)??????? {??????? string[]names={"吳松","錢東宇","伏晨","陳陸","周蕊","林日鵬","何昆","關欣"};??????? int[]score={89,90,98,56,60,91,93,88};??????? int max=0...
2018-09-12
最新回答 / Angela單單
?string[] name = new string[8] { "景珍",
"林惠洋", "成蓉", "洪南昌", "龍玉民", "單江開", "田武山", "王三明" };??????????? int[] score = new int[8] {
90,65,88,70,46,81,100,68 };??????????? int sum = 0, avg;??????????? int e = 0;??????????? for (int i = 0; i <
score.Length; i...
2018-09-11
已采納回答 / 阿米巴丶
? ?1.int a = mark[i] 這個有問題;2.for循環也沒有大括號;3.?Console.Write("分數最高的是" + name[i] +"," +"分數是" + mark[i]);沒有記錄i,你用取不到下標
2018-09-10