ColorGrid.java:16: error: not a statement for(color=1,trial<=500,trial++); ^ ColorGrid.java:16: error: ';' expected for(color=1,trial<=500,trial++); ^ ColorGrid.java:17: error: illegal start of expression { ^ ColorGrid.java:18: error: ')' expected if(product==2,6,15,24) ^ ColorGrid.java:18: error: ';' expected if(product==2,6,15,24) ^ ColorGrid.java:18: error: illegal start of expression if(product==2,6,15,24) ^ ColorGrid.java:18: error: ';' expected if(product==2,6,15,24) ^ ColorGrid.java:18: error: illegal start of expression if(product==2,6,15,24) ^ ColorGrid.java:18: error: ';' expected if(product==2,6,15,24) ^ ColorGrid.java:18: error: illegal start of expression if(product==2,6,15,24) ^ ColorGrid.java:18: error: ';' expected if(product==2,6,15,24) ^ ColorGrid.java:22: error: illegal start of type else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: <identifier> expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: ';' expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: illegal start of type else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: <identifier> expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: ';' expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: illegal start of type else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: ';' expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: <identifier> expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: illegal start of type else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: <identifier> expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: ';' expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: illegal start of type else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: <identifier> expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: ';' expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: illegal start of type else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: <identifier> expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: ';' expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: illegal start of type else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:22: error: <identifier> expected else(product==!2)&&(product==!6)&&(product==!15)&&(product==!24) ^ ColorGrid.java:23: error: ';' expected { ^ ColorGrid.java:24: error: illegal start of type lose++; ^ ColorGrid.java:24: error: <identifier> expected lose++; ^ ColorGrid.java:24: error: ';' expected lose++; ^ ColorGrid.java:30: error: class, interface, or enum expected } ^