最新回答 / weixin_慕虎1420592
你这个IF括号里面的语法不对,应该这样: int age = 4;//年龄 if (age < 6||age > 60) Console.WriteLine("请坐爱心座!"); else Console.WriteLine("请坚持一下!");
2021-10-25
已采纳回答 / 慕娘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();
}