for (int x = 1; x < 10; x++)
{
//请添加代码,过滤3和8
if(x == 3)
continue;
else if(x == 8)
continue;
Console.Write(x);
}
{
//请添加代码,过滤3和8
if(x == 3)
continue;
else if(x == 8)
continue;
Console.Write(x);
}
2018-11-28
for (int x=1; x<13; x++)//请填写代码
{
Console.WriteLine(x+" ");
}
{
Console.WriteLine(x+" ");
}
2018-11-27
for (int y = 1; y <= 7; y++)
{
for (int x = 1; x <= y; x++)
{
Console.Write(x);
}
Console.WriteLine();//换行
}
{
for (int x = 1; x <= y; x++)
{
Console.Write(x);
}
Console.WriteLine();//换行
}
2018-11-20
double x = 13.9, y = 24.4,avg;
double sum = x + y;
avg=sum/2;
Console.WriteLine(avg);
double sum = x + y;
avg=sum/2;
Console.WriteLine(avg);
2018-11-20