Java program that allows the user to enter packages names


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

Solution Preview :

Prepared by a verified Expert
Business Management: Java program that allows the user to enter packages names
Reference No:- TGS02760062

Now Priced at $10 (50% Discount)

Recommended (90%)

Rated (4.3/5)