using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
for (int i = 1; i <= 6;i++ )
{
for (int k = 2; k <= i; k++) Console.Write(" ");
for (int j = 11; j >= 2*i-1; j--) Console.Write("*");
Console.Write("\n");
}
Console.Read();
三角形2
最新推荐文章于 2022-03-23 10:20:56 发布