DEV Community

Ivan Ivanov
Ivan Ivanov

Posted on

2. Numbers N...1 - (Newer Solution)

using System;

namespace Numbers_N_1
{
internal class Program
{
    static void Main(string[] args)
    {
        for (int number = int.Parse(Console.ReadLine()); number >= 1; number--)
        {
            Console.WriteLine(number);
        }
    }
}
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)