D:\Documents and Settings\amy.as her\My Documents\ICS 141\PlaceRocks. java:43: <identifier> expected
private static boolean isCellTaken(row s, columns, row, column)
^
D:\Documents and Settings\amy.as her\My Documents\ICS 141\PlaceRocks. java:54: ')' expected
}
^
D:\Documents and Settings\amy.as her\My Documents\ICS 141\PlaceRocks. java:43: cannot resolve symbol...
User Profile
Collapse
-
help placing rocks in a grid
Can someone help me with what i am missing in this code. I can't get it to compile. Thx!
[code=java]
import javax.swing.*;
public class PlaceRocks
{
private static final int GRID_SIZE = 3;
private static final String ROW_PROMPT = "Enter a row from: 0, 1, 2";
private static final String COLUMN_PROMPT =
"Enter a column from: 0, 1, 2";
private static...
No activity results to display
Show More
Leave a comment: