using System;
class Exercises
{
	static void Main()
   {
      Console.WriteLine( "while" );
      int counter = 1;
      while ( counter <= 10 )
      {
         Console.Write( counter );
         if ( counter <= 10 )
         {
            Console.Write( ", " );
         }
         ++counter;
      }

      Console.WriteLine( "\nDo..While" );
      counter = 1;
      do
      {
         Console.Write( counter );
         if ( counter < 10 )
         {
            Console.Write( ", " );
         }
         ++counter;
      } while ( counter <= 10 );

      Console.WriteLine( "\nfor" );
	  for (int ctr = 1; ctr <= 10; ctr++)
      {
         Console.Write( ctr );
         if ( ctr < 10 )
         {
			 Console.Write(", ");
         }
      }
      Console.WriteLine( "\nGotowe" );
   }
}

