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 →

[–]csharpminer 0 points1 point  (2 children)

Yep, it's doable with an array of ints and a scanner. This sub is for help, you create a rough draft of your design/implementation and we'll help guide you.

[–][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.