for (int h = 1; h <= 10; h++)
{
for (int kg = 2; kg <= h; kg++)
{
Console.Write("..");
}
for (int xing = 10; xing >= h; xing--)
{
Console.Write("※");
}
Console.Write("\n");
}
时间: 2024-10-04 12:10:39