subject

Warm up: People's weights (Java) A brief note from your instructor: While you will be submitting this assignment through Zybooks, make sure you are still applying appropriate formatting and in-line commenting. (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 Enter weight 2: 89.5 Enter weight 3 142 Enter weight 4: 166.3 Enter weight 5: 93 You entered 236.0 89.5 142.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: Enter weight 1: 236 Enter weight 2: 89.5 Enter weight 3 142 Enter weight 4: 166.3 Enter weight 5: 93 You entered: 236.0 89.5 142.0 166.3 93.0 Total weight: 726.8 Average weight: 145.35999999999999 Max weight: 236.0 LAB ACTIVITY 7.5.1: Warm up: People's weights (Java) 0/6 PeopleWeights java default t 1 import java. util. Scanner 3 public class Peopleweights [ 4 public static void main(Stringl] args) [ Type your code here. " 18 returng 12 When done developing your program, press the Submit for grading button below. This will submit your program for auto-grading Develop mode Submit mode

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:50
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
Match the following. 1. formatting that is applied when cell data meets certain criteria 2. borders with formats not found on the border tool 3. a shortcut bar that contains tools for commonly used formats 4. formats that can be applied to numbers conditional formatting custom borders format bar number formats
Answers: 3
question
Computers and Technology, 24.06.2019 19:20
Kiesha has a worksheet with a range of cells using the following columns: name, score, group, study group, and date. kiesha needs to sort the worksheet on the date field. which option she use to most efficiently complete this task ? a use the cut and paste option to reorganize the data to fit that order b use the filter function to organize the data based on the date c use the order function to organize the data based on the date d use the sort function to organize the data based on date order
Answers: 3
You know the right answer?
Warm up: People's weights (Java) A brief note from your instructor: While you will be submitting thi...
Questions
question
English, 20.09.2019 06:50
Questions on the website: 13722367