Hi guys im currently doing an assignment where i am given a .txt file containing an unknown amount of float numbers (there could be thousands).

I have then got to create functions to calculate the min, max, and average of all the float numbers that could be contained in the file.

Any ideas?

Im mainly stuck on the min and max, i have worked out how to do averages but im not so great at using arrays which i believe is needed to be able to work this all out.

Thanks in advance.