Question: IN JAVA PLEASE S My library > CIS 176: Java Programming I home > 7.13: Ch 5 Warm up: People's weights (Java) zyBooks catalog ?


IN JAVA PLEASE
S My library > CIS 176: Java Programming I home > 7.13: Ch 5 Warm up: People's weights (Java) zyBooks catalog ? Help 7.13 Ch 5 Warm up: People's weights (Java) (1) Prompt the user to enter five numbers, being five people's weights. Store the numbers in an array of doubles. Output the array's numbers on one line, each number followed by one space. ( 2 pts) Ex: Enter weight 1: 236.0 Enter weight 2: 89.5 Enter weight 3: 142.0 Enter weight 4: 166.3 Enter weight 5: 93.0 You entered: 236.089.5142.0166.393.0 (2) Also output the total weight, by summing the array's elements. (1 pt) (3) Also output the average of the array's elements. (1 pt) (4) Also output the max array element. ( 2 pts) Ex: Enter weight 1 : My library > CIS 176: Java Programming I home > 7.13: Ch 5 Warm up: People's weights (Java) zyBooks catalog (2) Also output the total weight, by summing the array's elements. (1 pt) (3) Also output the average of the array's elements. (1 pt) (4) Also output the max array element. (2 pts) Ex: Enter weight 1: 236.0 Enter weight 2: 89.5 Enter weight 3: 142.0 Enter weight 4: 166.3 Enter weight 5: 93.0 You entered: 236.089.5142.0166.393.0 Total weight: 726.8 Average weight: 145.35999999999999 Max weight: 236 444740.2644432.032qy7 \begin{tabular}{l|l} LAB & 7.13.1: Ch 5 Warm up: People's weights (Java) \end{tabular} 0/6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
