// // Name: ReviewArray1.java // // ... import java.util.Scanner; public class ReviewArray1 { public static void main(String[] args) { Scanner kb = new Scanner(System.in); // declare an array myArr that can hold 30 integers int[] myArr = new int[30]; // make the first as 12 myArr[0] = 12; // set the 10th as 10 myArr[9] = 10; // input from the kb to (1st - 10th)? for(int i=0; i<10; i++) myArr[i] = kb.nextInt(); // output (1st - 10th) to the monitor for(int i=0; i<10; i++) System.out.print(myArr[i]+ " "); System.out.println("\n"); System.out.println("\n\n\nDone.\n\n"); } }