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… | Cheap Nursing Papers

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

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp