DEV Community

Ivan Ivanov
Ivan Ivanov

Posted on

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

using System;

namespace Numbers_N_1
{
internal class Program
{
    static void Main(string[] args)
    {
        int n = int.Parse(Console.ReadLine());

        for (int number = n; number >= 1; number--)
        {
            Console.WriteLine(number);
        }
    }
}
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)