I wrote this program and I keep getting:
\" Grades.java:10: error: illegal start of type\"
import java.util.Scanner; public
You need a starting method that contains everything from your for loop downwards.
Usually:
public static void main (String [] args) { }