for (int y = 0; y <= 7; y++)
{
for (int x = 1; x <= 7; x++)
{
if(x<=y)
{
Console.Write(x);
}
}
Console.WriteLine();//换行
{
for (int x = 1; x <= 7; x++)
{
if(x<=y)
{
Console.Write(x);
}
}
Console.WriteLine();//换行
2018-05-15
if (score[i] < 60)//如果有不及格的
{
hasNopass=true;
break;//记录有不及格的
}
{
hasNopass=true;
break;//记录有不及格的
}
2018-05-15
double x = 13.9, y = 24.4;
double sum = x + y;
double avg = sum/2;
Console.WriteLine(avg);
double sum = x + y;
double avg = sum/2;
Console.WriteLine(avg);
2018-05-11