public static void Main()
Console.WriteLine("\nIngrese un número, (entre 1 - 30) \n");
int x = Convert.ToInt32(Console.ReadLine());
for (int contador = 1; contador <= x; contador++)
Console.WriteLine("Error");
Console.WriteLine("\nIngrese un número, (entre 1 - 30) \n");
x = Convert.ToInt32(Console.ReadLine());
for (int contador = 1; contador <= x; contador++)