s

C# for loop edit button Edit

author
Rakesh Kumar Sutar | calendar 11 January 2021 | 2054

Program

using System;

namespace Hello_world
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = 0;
            for(int b=10; b>a;b--)
            {
                Console.WriteLine("    "  b);
            }
        }
    }
}

Output