// // Review for Java // // Goal: read in data from a file and store to an array, // and then out to the monitor // // import java.util.Scanner; public class ReadDataArray { public static void main(String[] args) { Scanner input = new Scanner(System.in); final int MAX = 30; int[] data = new int[MAX]; int size = 0; while(input.hasNext()) { data[size] = input.nextInt(); // read data to array size ++; } //System.out.println("Size = " + size); for(int i=0; i