1 Prompt User Enter Five Numbers Five People S Weights Store Numbers Array Doubles Output Q37018166

(1) Prompt the user to enter five numbers, being five peoples weights. Store the numbers in an array of doubles. Output thePeopleWeights.java Load default template 1 import java.util.Scanner; 3 public class Peopleieights 4 public static void main (

it is for 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

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.