public static void Main()
Console.WriteLine("Zadejte spodní hodnotu:");
x = int.Parse(Console.ReadLine());
Console.WriteLine("Zadejte horní hodnotu:");
y = int.Parse(Console.ReadLine());
Console.WriteLine("Spodní hranice musí být menší než ta horní!");
Console.WriteLine("Zadejte spodní hodnotu:");
x = int.Parse(Console.ReadLine());
Console.WriteLine("Zadejte horní hodnotu:");
y = int.Parse(Console.ReadLine());
for(int i = x; i <= y; i++)
for(int j = 1; j <= i; j++)