"token" will be the last integer that the hasNextInt() find instead of the sum of the previous one and the current one. What I'm trying to do is make "token" be the sum of all the number the...
Type: Posts; User: maple1100
"token" will be the last integer that the hasNextInt() find instead of the sum of the previous one and the current one. What I'm trying to do is make "token" be the sum of all the number the...
How can I modify this part of my code so that "token" would be the previous number the program input from the text file and the current number? For example, there is 2 number inside the text file,...