After the list, sum, average, max and min have been printed, ask the user to enter a value. Then print the id
of each salesperson who exceeded that amount, and the amount of their sales. Also print the total number of
salespeople whose sales exceeded the value entered. The bold is what i dont know how to do.
System.out.println("\nTotal sales: " + sum);
System.out.println("Average sales: " + average);
System.out.println("\nSalesperson " + minNum + " had the lowest sale with $" + minSale);
System.out.println("Salesperson " + maxNum + " had the highest sale with $" + maxSale);
System.out.println("--------------------");
System.out.println("Enter a salevalue");
int saleValue = scan.nextInt();
//Its here I want to have the code for the problem above
}
}