Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need help fixing this error. zyBooks My library > IT 145: Intro to Software Development home > 4.16: People's weights (Java) zyBooks catalog Help/FAQ e

image text in transcribed

need help fixing this error.

image text in transcribed

image text in transcribed

image text in transcribed

zyBooks My library > IT 145: Intro to Software Development home > 4.16: People's weights (Java) zyBooks catalog Help/FAQ e 38 av = weight 5: System.out.println("Total weight: + weight); System.out.println("Average weight: + ave); System.out.println("Max Weight:" + max); Feturn; Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box Enter program input (optional) If your code requires input values, provide them here Your program expects input PeopleWeights.java Run program Input (from above) Output (shown below) Program errors displayed here PeopleWeights.java:43: er ror: reached end of file while parsing error ACTIVITY 4.16.1: People's weights (Java) People Weight Leport java.util.Scanner; public class Peopleweights public static void main(String) args) { [ /Type your code here. Scanner sc new Scanner(System.in); double [] new Double ); double weight - , V . ; int i; for(i=0; i IT 145: Intro to Software Development home > 4.16: People's weight ACTIVITY 416.1: People's weights (Java) PeopleWeights System.out.print(" "); System.out.print("you entered"); for (i = 0; i max) maari System.out.println(**); av - weight/ 5; System.out.println("Total weight: System.out.println("Averate weight. System.out.println("Max Weight weicht): avg); ); return; Develop mode Submit mode Run your program as often input values in the first box second box Enter program input (optional) TO

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions