The hint given earlier is that the variable is visible through the scope of the for loop. The problem is not the variable, the problem is the scope of the for loop has been cut short. Compare the...
Type: Posts; User: jps
The hint given earlier is that the variable is visible through the scope of the for loop. The problem is not the variable, the problem is the scope of the for loop has been cut short. Compare the...
The error is telling you that the variable named 'side' is not a valid variable name on line 20 of the dieRoll class.
Something must have caused the scope of the variable to end before you thought...