4-9
for (int y = 1; y <= 7; y++) {
for (int x = 1; x <= 7; x++)
{
if (x > y)
{
continue;
}
Console.Write(x);}Console.WriteLine();//换行 }
for (int y = 1; y <= 7; y++) {
for (int x = 1; x <= 7; x++)
{
if (x > y)
{
continue;
}
Console.Write(x);}Console.WriteLine();//换行 }
2017-02-20
看到之前的言论都醉了
string[,] x =
int b = 0;
int c = 0;
for (int a=0;a<8;a++)
{
if (Convert.ToInt16(x[a, 1]) > Convert.ToInt16(x[b, 1]))
b = a;
else
continue;
string[,] x =
int b = 0;
int c = 0;
for (int a=0;a<8;a++)
{
if (Convert.ToInt16(x[a, 1]) > Convert.ToInt16(x[b, 1]))
b = a;
else
continue;
上面不能提交的同学们是因为任务中少说了一点,Main(String[]args) 中 String[]args 要改成 string[] args <-注意中间有一个空格
2017-02-15
if (score[i] < 60)//如果有不及格的
{
//记录有不及格的
hasNopss=true;
break;
}
{
//记录有不及格的
hasNopss=true;
break;
}
2017-02-14