read in using Scanner
I know how to read in from the keyboard using the Scanner class but what I'm trying to accomplish requires that I read from a text file each line containing 2 numbers like this:
5 10
5 15
5 25
6 18
and so on.
now my question is how would I do that with Scanner, breaking each number up into a seperate variable and only reading 1 line at a time?
Thanks

