Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In java - what is a good way to print the average of numbers listed in a input file? without using array file example: Mary

In java - what is a good way to print the average of numbers listed in a input file? without using array

file example:

Mary 20 30 40 -1

Joe 30 50 60 70 -1

Jil -1

Output:

image text in transcribed

scores average Name Mary Joe 20 30 40 30 30 50 60 70 52.5 0 Jill

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 Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions