Menu

[solved] – Question 77354

Write a program that searches a file of numbers and displays the largest number, the smallest number and the average of all the numbers in the file. Do not assume that all the numbers 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

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *