//declare an array and set size of array //array size may also be a variable - int count = 100; float[] countUp = new float[100]; //initialize elements of the array using for loop for (int i = 0; i < 100; i++) { countUp[i] = 1; println(countUp); }