nt t = 0;
for (int y = 1; y <= 7; y++)
{
t++;
for (int x = 1; x <= t; x++)
{
Console.Write(x);
}
Console.WriteLine();//换行
}
for (int y = 1; y <= 7; y++)
{
t++;
for (int x = 1; x <= t; x++)
{
Console.Write(x);
}
Console.WriteLine();//换行
}
2016-02-05
int t = 0;
for (int y = 1; y <= 1; y++)
{
t++;
for (int x = 1; x <= t; x++)
{
Console.Write(x);
}
Console.WriteLine();//换行
}
for (int y = 1; y <= 1; y++)
{
t++;
for (int x = 1; x <= t; x++)
{
Console.Write(x);
}
Console.WriteLine();//换行
}
2016-02-05
if(x==8)
continue;
else if(x==3)
continue;//请添加代码,过滤3和8
Console.Write(x);
||运用不熟 看了评论才知道可以写成一条
continue;
else if(x==3)
continue;//请添加代码,过滤3和8
Console.Write(x);
||运用不熟 看了评论才知道可以写成一条
2016-02-05