最赞回答 / weixin_慕用1585074
name.Length是这个二维数组的长度,它的值是16.正确答案 for (int i = 1; i < name.GetLength(0); i++)
2021-12-16
已采纳回答 / 慕娘9088980
int[]num=new int[]{89,90,98,56,60,91,93,85}; string[] xingming = new string[] {"吴松","钱东宇","伏晨","陈陆","周蕊","林日鹏","何昆","关欣"}; int max=num[0]; string name = xingming[0]; for (int i=0;i<num.Lengt...
2021-09-17
for(int x=1;x<=7;x++)
{
for(int y=1;y<=7;y++)
{
if(x==y||x+y==8)
Console.Write("o");
else
Console.Write(".");
}
Console.WriteLine();
}
{
for(int y=1;y<=7;y++)
{
if(x==y||x+y==8)
Console.Write("o");
else
Console.Write(".");
}
Console.WriteLine();
}