Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
1.6
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { int[] a = {0, 1, 2, 3, 4}; int x = 0; println("a[]: " + Arrays.toString(a)); println("x = " + x); println("--- A ---"); int i=0, j = a.length-1; do{ i++; }while(i<j); println("--- B ---"); i=0; j = a.length-1; do{ i++; }while(i<j); println("--- C ---"); i=0; j = a.length-1; do{ i++; }while(i<j); } public static void println(String s){ System.out.println(s); } }
run
|
edit
|
history
|
help
0
multiplo de 4 y 6
JAVA # Dizi ile Fibonaççi
Vasanth Selvaraj
Relation
Array - char
forloop1
data
getListVehicules
Engine Java
ElaineBrown**