how do I get the maximum, minimum and the average of an array?
this may be different but how do I get to stop inputting number in an array. for example if the array is 20 and i only need 10 of them. i think its something about EOF but im not sure how to use it.