class Program { static void func(int c, int n) { if (c > n) return; for (int i = c; i > 0; i--) Console.Write(i + " "); Console.WriteLine(); func(c + 1, n); } static void Main(string[] args) { Console.Write("Введите 1 значение: "); int a = Convert.ToInt32(Console.ReadLine()); Console.Write("Введите последнее значение: "); int b = Convert.ToInt32(Console.ReadLine()); func(a, b); } }