string[,] examInfo = new string[8,2]{{"吳松","89"},{"錢東宇","90"},{"伏晨","98"},{"陳陸","56"},{"周蕊","60"},{"林日鵬","91"},{"何晶","93"},{"關欣","85"}};
int score = 0;
string name = "";
for(int i = 0; i < examInfo.GetLongLength(0); i++)
{
int score = 0;
string name = "";
for(int i = 0; i < examInfo.GetLongLength(0); i++)
{
string[,] examInfo = new string[8,2]{{"吳松","89"},{"錢東宇","90"},{"伏晨","98"},{"陳陸","56"},{"周蕊","60"},{"林日鵬","91"},{"何晶","93"},{"關欣","85"}};
學完這個課程,感覺可能是網頁的原因吧,感覺答案挺死板的。而且出題的人特別愛玩Console.Write和Console.WriteLine這個梗
2018-03-31
string[,] tx = { { "吳松", "89" }, { "錢東宇", "90" }, { "伏晨", "98" }, { "陳陸", "56" }, { "周蕊", "60" }, { "林日鵬", "91" }, { "何昆", "93" }, { "關欣", "85" } };
int max = 0;
int j = -1;
int max = 0;
int j = -1;
for (int x = 1;x <= 6;x++ )//請填寫for循環結構
{
Console.WriteLine("Yeah!");
}
{
Console.WriteLine("Yeah!");
}
int y = 5;
while (y >=1)//請輸入
{
Console.Write(y+" ");
y--;//請輸入
}
while (y >=1)//請輸入
{
Console.Write(y+" ");
y--;//請輸入
}
2018-03-31
int y = 5;
while (y<=5&&y>0)//請輸入
{
Console.Write(y+" ");
--y;//請輸入
}
while (y<=5&&y>0)//請輸入
{
Console.Write(y+" ");
--y;//請輸入
}
2018-03-30