Write a program that searches a file of numbers and displays the largest number, the smallest number and the average of all the number in the file. Do not assume that the number in the file are in any special order. Your program should obtain the file name from the user. Use either a text file or a binary file. For the text-file version, assume one number per line. For the binary-file version, use numbers of type double that are written using writeDouble.


Get this answer with Chegg Study