Then the input.nextDouble() statement isn't finding a legal token for a double in the file. Intelligently play with it and/or add print statements to determine what the Scanner object is seeing and...
Type: Posts; User: GregBrannon
Then the input.nextDouble() statement isn't finding a legal token for a double in the file. Intelligently play with it and/or add print statements to determine what the Scanner object is seeing and...
At line 38 in main() - we can't tell where that is - the Scanner method being used does not agree with the data found in the file. This usually occurs when a type of number is expected but text is...