Question: The code I have been getting. This is the output I am trying to get if anyone could help me fix this I'm not sure

The code I have been getting.

This is the output I am trying to get if anyone could help me fix this I'm not sure what I am doing wrong.
PeopleWeights.java Load default template.. 4 1 import java.util.Scanner; 2 3 public class Peopleweights { public static void main(String[] args) { 5 Scanner scanner = new Scanner(system.in); 6 7 double[] arr = new double[5]; 8 for(int i = e; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
