public class WhileCounter

{

   public static void main ( String args[] )

   {

      int counter = 1 ;

      while ( counter <= 10 )

      {

         System.out.printf( "%d " , counter );

         ++counter;

      }


   }

}

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 a25561970 的頭像
    a25561970

    萬花筒

    a25561970 發表在 痞客邦 留言(0) 人氣()