Question: write a java program With a given data file called data.txt contains integer numbers, write a program that will open the file and read all
write a java program
With a given data file called data.txt contains integer numbers, write a program that will open the file and read all the integer numbers and determine how many numbers were read, the smallest number, the largest number, the sum of all numbers, and the average value. The result should be stored into a file called dataOutput.txt. The program should also sort all numbers in ascending order and output the results (10 numbers per line) into a file mentioned. Your program should implement Java ArrayList class, Java File I/O, and Java error handling excaption.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
