Write a C++ program to read in from disk file 40 integers into an array. The data should be in a text file to be opened and processed by this program. Determine the largest number and the smallest number in the array. Also find the average of all the numbers in the array.
As I said in this thread ( http://www.cplusplus.com/forum/general/164431/ ), we are not going to do your homework since this is not what this forum is for. If you need help, please post the code you have written and point out where the problems are and what is not working. Then we can surely help you.