Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use while loop. A+ Computer Science AVERAGE LINE Lab Goal : This lab was designed to teach you more about using Scanner to chop

Please use while loop. image text in transcribed
A+ Computer Science AVERAGE LINE Lab Goal : This lab was designed to teach you more about using Scanner to chop up Strings. Lab Description : Take a group of numbers all on the same line and average the numbers. First, total up all of the numbers. Then, take the total and divide that by the number of numbers. Format the average to three decimal places. Sample Data : 9 10 5 20 11 22 33 44 55 56 77 48 52 29 100 50 29 0 100 90 95 98 100 97 Files Needed :: Average.java AverageRunner.java Sample Output : 9 10 5 20 average = 11.000 11 22 33 44 55 66 77 average = 44.000 48 52 29 100 50 29 average = 51.333 0 average - 0.000 100 90 95 98 100 97 average - 96.667

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 Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions