I should have mentioned however, that I'm trying to do this as practice for a class and I should only use the File reader and scanner, along with loops to do the aforementioned. I'm stuck when it comes to breaking apart the file and gathering the numbers.

I know that for the maximum I should get the first number, assign that to the maximum, and while there are more numbers, get the next number, and if that is higher, it then becomes the maximum. I'm just lost when it comes to putting this into code.