Count from 1 to 99 using for loop - CSharp Language Basics

CSharp examples for Language Basics:for

Description

Count from 1 to 99 using for loop

Demo Code

class for99
{
   public static void Main()
   {/*from www . java  2s .  c o  m*/
      int i;
      for ( i = 1; i <= 99; i++)
         System.Console.Write("{0} ", i);
   }
      
}

Result


Related Tutorials