Tuesday 26 November 2013

Contoh Output Unlabeled Break

public class cabang {
    public static void main(String[]args)
   {
  

   int i=0, j=0;
     while (i<3){
        j=0;  
         while(j<5){
              if (j==3)
                  break;
                  System.out.println("i = " + i +" j = "+ j);
                  j++;  

  
           }
     i++;
    }
    }}      

0 Komentar: