using System;
public class Program
{
public static void Main()
//int x = 0;
//Console.WriteLine("Enter size of pyramid");
//x = int.Parse(Console.ReadLine());
DrawPyramid(10);
}
static void DrawPyramid(int l)
for (int h = 1; h <= l; h++)
for (int j = h; j <= l; j++)
Console.Write(" ");
for (int k = 1; k <= h; k++)
Console.Write("* ");
Console.WriteLine();
for (int k = 0; k <= l; k++)
for (int j = l; j <= l; j++)
for (int j = k; k >= j; j++)