string[,] scores = {{"吴松", "89"},{"钱东雨", "90"}, {"伏晨", "98"} };
string[] temp = {scores[0,0], scores[0,1]};
for (int i = 0; i < scores.GetLongLength(0); i++){
if (Convert.ToInt32(scores[i,1]) > Convert.ToInt32(temp[1])) {
temp[0] = scores[i,0];temp[1] = scores[i,1];
}
}
string[] temp = {scores[0,0], scores[0,1]};
for (int i = 0; i < scores.GetLongLength(0); i++){
if (Convert.ToInt32(scores[i,1]) > Convert.ToInt32(temp[1])) {
temp[0] = scores[i,0];temp[1] = scores[i,1];
}
}
char[,] ch = { {'我','是','软'},{'件','工','程'},{'师','啦','!'}};
Console.WriteLine("{0}{1}{2}",ch[1,1],ch[1,2],ch[2,0]);
Console.WriteLine("{0}{1}{2}",ch[1,1],ch[1,2],ch[2,0]);
2017-06-09
最赞回答 / 一念征途
你好,据我所知,对于一门课程,如果已经学了40%,就可以对这门课程 进行评价了,如果不到40%,则不能评价;同时可以在主目录处,可以点击上面的评论可以进行评论;也可以在每一节课的下面 有评价模块,可以多单独的一节课进行评论。<...图片...><...图片...>
2017-06-09