for(int y=1;y<=7;y++)
{
for(int x=1;y>=x&&x<=7;x++)
{
Console.Write(x);
}
Console.WriteLine();
}
{
for(int x=1;y>=x&&x<=7;x++)
{
Console.Write(x);
}
Console.WriteLine();
}
2018-03-01
for (int x = 0; x < 12 ; x++ )//请填写代码
{
Console.WriteLine((x + 1) + " ");
}
{
Console.WriteLine((x + 1) + " ");
}
2018-02-27
贼简单,在21行直接加入
else
Console.WriteLine("6");就行了.因为第一个if语句没有对应else,直接添加上就可以
else
Console.WriteLine("6");就行了.因为第一个if语句没有对应else,直接添加上就可以
2018-02-26