package basic;
public class Basic {
public static void main(String[] args) {
System.out.println("index\tValue");
int val[] = {10, 23, 46, 78, 41, 23};
for (int ctr = 0; ctr < val.length; ctr++) {
System.out.println(ctr +"\t" +val[ctr]);
}
}
}
Walang komento:
Mag-post ng isang Komento