Martes, Pebrero 7, 2012

basic 9 : while loop

package basic;




public class Basic {
  
    public static void main(String[] args) {
       
  int counter = 1 ;
  
  while (counter <= 10){
            System.out.println("yahoo");
      counter++;
              
              
    }
}
}

Walang komento:

Mag-post ng isang Komento