import java.util.Scanner; public class ReadInNumbersProgram2 { public static final int GROWTH_SIZE = 5; // Amount to grow array by // Function to make the array bigger public static int[] enlarge(int[] originalArray, int amountToIncreaseBy) { // First, create the bigger array int[] enlargedArray = new int[originalArray.length + amountToIncreaseBy]; // Now copy over all the values for (int i=0; i