Monday, 25 November 2013

Contoh Program do...while

public class coba {
   public static void main(String[]args)
   {
       int x = 0;
       do
       {
            System.out.print(x);
            x++;
       }while (x>10);
    }
}

0 Komentar: