You are declaring the same variable from your processScore() method params in all your enhanced loops. You cannot do that. The enhanced for loop needs to have a type and variable declared locally. You read the loop as:
(for each double in list)
//do something
It is not the same as a normal for loop where you would say, using this variable, loop until it equals this variable. You don't need to initialise it.
It's important to note that the enhanced for loop can't be used everywhere. You can't use the enhanced for loop:
* To remove elements as you traverse collections
* To modify the current slot in an array or list
* To iterate over multiple collections or arrays
http://www.java-tips.org/java-se-tips/java.lang/the-enhanced-for-loop.html