static void drawPyramid(int n){
for(int a = 1; a <= n; a++){
for(int b = a; b <= n; b++){
for(int c = 1; c <= 2 * a - 1; c++){
Console.WriteLine("\n\nHere is your pyramid that has " + n + " layers");
public static void Main()
Console.WriteLine("Do you want to draw a Pyramid?");
Console.WriteLine("| Yes | No |");
string cmd = Console.ReadLine();
Console.WriteLine("How many layers do you want your pyramid to have?");
int a = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("\n\nUnderstandable, have a good day");
Console.WriteLine("\n\nIt's a 'Yes' or 'No' question");
Console.WriteLine("How could you fail that");