package hw1a; public class Main { public static void main(String[] args) { double r; int [] myArray = {3,2,10}; for (int i = 0; i < myArray.length; i++){ r = Math.random(); // generates a random number between 0 and 1 r = 100 * r; // thats now a random number between 0 and 100 myArray[i] = (int) r; // the integer part of r } System.out.println(secondHighest(myArray)); } static int secondHighest(int [] A) { // Write code following this line return 10; // I put it in to avoid a compilation error } }