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

ivanitd

Ivan Ivanov

Posted on January 20, 2023

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
💖 💪 🙅 🚩
ivanitd
Ivan Ivanov

Posted on January 20, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

4. Even Powers of 2 (First Solution)
csharp 4. Even Powers of 2 (First Solution)

January 21, 2023

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

January 20, 2023