using System;
public class Program
{
public static void Main()
Console.WriteLine("Pyramid View with asterisk Symbol");
int a, b, c, d,space;
Console.WriteLine("Enter the d Number of Rows");
d = Convert.ToInt32(Console.ReadLine());
space = d + 4 - 1;
for (a = 1; a <= d; a++)
for (b = space; b >= 1; b--)
Console.Write(" ");
}
for (c = 1; c <= a; c++)
Console.Write("* ");
Console.WriteLine("\n");
space--;
Console.ReadLine();