Question: In Java Language! 5.14 LAB: Player points (1) Prompt the user to enter five numbers, being the points scored by the starting five players on

In Java Language!

 In Java Language! 5.14 LAB: Player points (1) Prompt the user

5.14 LAB: Player points (1) Prompt the user to enter five numbers, being the points scored by the starting five players on a basketball team. Store the numbers in an array of integers. Output the array's numbers on one line, each number followed by one space. (3 pts) In this lab, zyLabs only evaluates the final line(s) of output. Print statements that prompt the user for each player's score is ignored by zyLabs. Per good programming practice, your program should prompt the user for each value. You will lose points on the Canvas submission if you do not properly prompt the user to enter each player's score. Ex: You entered: 10 12 4 8 15 (2) Also output the total points, by summing the array's elements. (2 pt) (3) Also output the average score for the players. (Hint: Divide by 5.0 to get floating point division) (2 pt) (4) Also output the highest score for the players. (3 pts) You entered: 10 12 4 8 15 Total points: 49 Average points: 9.8 Highest points: 15

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 Databases Questions!