I did post the exact error message and the line which it applies to. The exact error is: "java:40:error: ; expected"
I have a ; there, so I'm not sure why it's flagging that code saying it's not...
Type: Posts; User: UM68
I did post the exact error message and the line which it applies to. The exact error is: "java:40:error: ; expected"
I have a ; there, so I'm not sure why it's flagging that code saying it's not...
Still getting the error. I made the changes on the lines you pointed out, eventhough they weren't referenced in any of the errors. Still getting "java:40:error: ; expected". I concatenated and...
I modified the println statements
//Display the amount contained in the case selected by user
//Display the amount contained in the case selected by user
System.out.println("The case...
I just tried to compile again. That's the only error received.
I added comments codes for the referenced line:
//Display the amount contained in the case selected by user
System.out.println("The case you selected contains: " + val(arr[position]));
I'm getting the following error when trying to compile my code: "java:38:error: ; expected"
I checked the line of the error referenced and I do have an ;
import java.util.Random;
import...