Question: IT 1 4 5 lab activity 4 . 5 People's weights ( Java ) ( 1 ) Prompt the user to enter five numbers, being

IT 145 lab activity
4.5 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 numb on one line, each number followed by one space. (2 pts)
Ex: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 )
Enter weight 4: 166.3
Enter weight 5: 93
You entered: 236.0,89.5142.0,166.3,93.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:
IT 1 4 5 lab activity 4 . 5 People's weights (

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!