不太懂这段代码if(x>=y)break;
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
for (int y = 1; y <= 7; y++)
{
for (int x = 1; x <= 7; x++)
{
Console.Write(x);
if(x>=y)
break;
}
Console.WriteLine();//换行
}
}
}
}