Jumat, 05 April 2013

Contoh Program Java Boolean 2


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


    int index = 0;
    while (index < 5) {
      System .out.println("Baris ke-" + (index+1));
      index++;
    }
  }
}

Tidak ada komentar:

Posting Komentar