最新回答 / ddodd
????????????string[] name = new string[] {"景珍", "林慧洋", "成蓉", "洪南昌", "龍玉民", "單江開", "田武山", "王三明"};??????????? int[] score = new int[] {90,65,88,70,46,81,100,68};??????????? int sum=0,avg;??????????? for(int i=0;i<score.Length;i++)??????????? {???????????...
2020-02-04
最新回答 / qq_明智之舉_qAKLMP
我第一個循環用foreach(int x in num)? ? ? ? ? ? {? ? ? ? ? ? ? ? sum+=x;? ? ? ? ? ? }貌似更簡單點
2020-02-04
已采納回答 / 彼岸蒹葭可待我
string userName0 = "A", userName1 = "B";? ? ? ? ? ? string passwrod0 = "C", passwrod1 = "D";? ? ? ? ? ? if (userName0 == "A"||userName1 =="B")? ? ? ? ? ? {? ? ? ? ? ? ? ? if (passwrod0 == "C"||passwrod1 == "D")? ? ? ? ? ? ? ? {? ? ? ? ? ? ? ? ? ? Console....
2019-12-17