package hw1b; public class HW1B { public static void main(String[] args) { double r; int [] myArray = new int [23]; for (int i = 1; i < myArray.length; i++){ r = Math.random(); // generates a random number between 0 and 1 r = 365 * r; // thats now a random number between 0 and 365 myArray[i] = (int) r; // the integer part of r } System.out.println(existDuplicates(myArray)); } static boolean existDuplicates(int[] A) { // Write your code here return false; // I just put a dummy return statement } }