Look up the Scanner API, specifically the hasNextInt() method.
Scanner (Java 2 Platform SE 5.0)
Type: Posts; User: newbie
Look up the Scanner API, specifically the hasNextInt() method.
Scanner (Java 2 Platform SE 5.0)
Well you're only reading from the file once, where you assign the first int to score, then all you do is print out that score variable 30 times.