Question: 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:

In java - what is a good way to print the average

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

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