Question: Here's my code. I can't figure out how I'm getting this error? Home X D21 Module Four - IT-145-X5903 Fou x zy Section 4.5 -

Here's my code. I can't figure out how I'm getting this error?

Here's my code. I can't figure out how I'm getting this error?Home X D21 Module Four - IT-145-X5903 Fou x zy Section 4.5- IT 145: Intro to Soft x * Course Hero X +

Home X D21 Module Four - IT-145-X5903 Fou x zy Section 4.5 - IT 145: Intro to Soft x * Course Hero X + V X -) learn.zybooks.com/zybook/IT-145-X5903-OL-TRAD-UG.22EW5/chapter/4/section/5 ... : Apps mySNHU Login y! Yahoo D21 Homepage - South... [ Mail - Syjud, Micha... Zy IT 140: Introduction. Zy IT 145: Intro to Soft. |Course Hero TestOut LabSim Stack Overflow - W. =zyBooks My library > IT 145: Intro to Software Development home > 4.5: People's weights (Java) zyBooks catalog ? Help/FAQ Michael Syjud mput 166.3 93 Enter weight 1: Enter weight 2: Enter weight 3: Enter weight 4: Your output Enter weight 5: You entered: 236.0 89.5 142.0 166.3 93.0 Total weight : 726.8 Average weight: 145 . 35999999999999 Max weight: 166. 3 Enter weight 1: Enter weight 2: Enter weight 3: Enter weight 4: Enter weight 5: Expected output You entered: 236.0 89.5 142.0 166.3 93.0 Total weight : 726.8 Average weight: 145 . 35999999999999 Max weight: 236.0 w 0 29 9 PC 68"F Sunny ^ - - 0 /7: " () 6:44PMHome D21 Module Four - IT-145-X5903 Fou x + V X zy Section 4.5 - IT 145: Intro to Soft x *Homework Help - Q&A from Onl x X -) learn.zybooks.com/zybook/IT-145-X5903-OL-TRAD-UG.22EW5/chapter/4/section/5 ... Apps mySNHU Login y! Yahoo D21 Homepage - South... [ Mail - Syjud, Micha.. Zy IT 140: Introduction. Zy IT 145: Intro to Soft. Course Hero TestOut LabSim Stack Overflow - W. =zyBooks My library > IT 145: Intro to Software Development home > 4.5: People's weights (Java) zyBooks catalog ? Help/FAQ @ Michael Syjud PeopleWeights.java Load default template... import java. util. Scanner; IN public class PeopleWeights { public static void main(String args) { Scanner scor = new Scanner(System. in) ; final int NUM_ELEMENTS = 5; 7 double[ ] userVals = new double [NUM_ELEMENTS] ; 8 int i; double sumVals; 10 11 for (i =0; i IT 145: Intro to Software Development home > 4.5: People's weights (Java) zyBooks catalog ? Help/FAQ @ Michael Syjud 21 22 System. out . println( ) ; 23 sumVals = 0; 24 25 for (i=0; i max) { 35 max = userVals[k] ; 36 37 38 39 40 41 System. out . printIn( "Max weight: " + max); 42 43 44 45 } 46 47 When done developing your program, press the Submit for grading button below. This will Develop mode Submit mode submit your program for auto-grading. W PC 68'F Sunny ^ - - 0 / () 6:47PM

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