for (int h = 1; h<=10;h++ )
{
for (int xing=10;xing>= h;xing-- )
{
Console.Write("※");
}
Console.Write("\n");
}
for (int h = 1; h<=10;h++ )
{
for (int xing=10;xing>= h;xing-- )
{
Console.Write("※");
}
Console.Write("\n");
}
转载于:https://www.cnblogs.com/zzc134680/p/5398641.html