I'm try to go through a file that's formatted as follows:
f 5//10 3//2 6//3
f 9//3 20//15 3/20
I want to pull out the numbers, subtract them by some set number, and then output them. I'm using a scanner to read each line of the file, but next Int doesn't seem to work since I have the // between some of the numbers. I know there has to be some simple way to deal with this, but I'm having a hard time finding what to do.