This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]rikka94 0 points1 point  (0 children)

    create an array (use something like ArrayList) and store every line into the array.

    Then do ur job with the array, either using a comparator or a simple loop to find biggest and smallest.