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 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
question
Computers and Technology, 22.06.2019 16:20
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
question
Computers and Technology, 23.06.2019 01:00
Complete the sentence about a presentation delivery method
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
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
Mathematics, 22.04.2021 14:20
question
Mathematics, 22.04.2021 14:20
question
Mathematics, 22.04.2021 14:20
question
Mathematics, 22.04.2021 14:20
question
Mathematics, 22.04.2021 14:30
question
Mathematics, 22.04.2021 14:30
question
Computers and Technology, 22.04.2021 14:30
Questions on the website: 13722360