Question: in java pls Processing scores from a text file) Suppose that a text file named test.txt contains an unspecified number of scores. Write a program
in java pls
Processing scores from a text file) Suppose that a text file named test.txt contains an unspecified number of scores. Write a program that reads the scores from the file and displays their total and average. Scores are separated by blanks. There are at least 50 scores in the file.
test.txt: 1 2 3 4 5 6 7 8 9 0 8 7 65 5 4 3 4 6 7 8 76 5 4 6 8 98 76 5 43 6 78 76 54 78 7 656 6 5 65 64 63 64 7 458 456 836 734 57 34 7 3467 43 7 347 43 57 43 75 4357 45 7435 7 45 73 45 7 435 7 45 7 34 57 4 57 45 73 45 7 435 7 435 7 45 7 45 7 45 7 45 97 78 0 87 43 2 978 0 98 2346 28 9 0 8 7 65 5 4 3 4 6 7 8 76 5 4 6 8 98 76 5 43 6 78 76 54 78 7 656 6 5 65 64 63 64 7 458 456 836 734 57 34 7 3467 43 7 347 43 57 43 75 4357 45 7435 7 45 73 45 7 435 7 45 7 34 57 4 57 45 73 45 7 435 7 435 7 45 7 45 7 45 7 45 97 78 0 87 43 2 978 0 98 2346 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
