Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
java program that allows the user to enter packages' names followed by their weights. Use an array of String to store packages' names and an array...
1. java program that allows the user to enter packages' names followed by their weights. Use an array of String to store packages' names and an array of double to store their weights. The program then outputs the following information (assume that there are 10 packages total):
- Each package's name and the weight
- Highest weight
- The names of all the packages having the highest weight
- Average weight
- The names of all the packages whose weights are less than the average
- The names of all the packages whose weights are greater than or equal to the average