This is what I have so far.....any advise?
Output does not give only one largest and smallest number from a file
and also there are multiple averages of numbers.....
thank you in advance.

In which programming language you are doing this code?

"This" is what you have so far... what is "This"?