Weighted Average Java Drop Smallest : I'm having a problem with my code below. I'm supposed to be prompting the user for numbers, that part works but once the user inputs the numbers nothing happens after that. What am I doing wrong here for the code to just stop after the user inputs numbers? The code must calculate a weighted average of the numbers (dropping the lowest number entered)

    public static void main(String[] args) {
        
        ArrayList<Double> inputs = getNumbers();
        int numberOfItemsToDrop = getLowestNumber();
        double weight = calculateWeight();
        double weightedAvg = calculateAverage(inputs, numberOfItemsToDrop, weight);

        getAverage(inputs, numberOfItemsToDrop, weight, weightedAvg);
        System.out.printf("%.2f%n", weightedAvg);
    }

    public static ArrayList<Double> getNumbers() {
        ArrayList<Double> inputs = new ArrayList <Double> ();
        
        Scanner in = new Scanner(System.in);
        System.out.println("Please enter five to ten numbers all on one line separated with spaces.");
        double vals = in.nextDouble();
    
        while (in.hasNextDouble()) {
            inputs.add(in.nextDouble());
        }
      
    
        return inputs;
    }


    public static int getLowestNumber() {
        int numberOfItemsToDrop = 0;

        System.out.println("How many of the lowest values should be dropped?");
        Scanner in = new Scanner(System.in);
        numberOfItemsToDrop = in.nextInt();

        return numberOfItemsToDrop;
    }

    public static double calculateWeight(){
        double weight = 0;
        
        return weight;
        
    }
    public static double calculateAverage(ArrayList<Double> inputs, int numberOfItemsToDrop, double weight) {
       
        double weightedAvg = 0.0;
        
        ArrayList<Double> numbersForSorting = new ArrayList<>(inputs);
        Collections.sort(numbersForSorting);
        
        double sum = 0.0;
        
    

        for (int i = numberOfItemsToDrop; i < inputs.size(); i++) {
                sum += inputs.get(i);
            }
        
        if ((inputs.size ()- numberOfItemsToDrop)> 0){
            weightedAvg = weight*(sum/(inputs.size()- numberOfItemsToDrop));
        }
        return weightedAvg;
    }
    
    public static void getAverage(ArrayList<Double> inputs, int numberOfItemsToDrop, double weight, double weightedAvg){
        System.out.println("The average of the numbers" + inputs + "except the lowest " + numberOfItemsToDrop + "is"+ weightedAvg);
    }
}
