Monday, 22 September 2014

WhileDemo


public class WhileDemo {

   
    public static void main (String args[])
   
    {
       
         int counter = 1;
       
         while (counter<=108)
         {
                        
             System.out.println (counter+ " Om Namah Shivay......");
             counter= counter+1;
         }
       
    }
}

No comments:

Post a Comment