Got this error : illegal start of expression (at line 18)
public class DetermineScore{ public static void main (string[] args) { scanner input = new scanner (System.in); system.out.println("Enter Number of Student: "); int studentNumber = input.nextInt(); int[] score = new int[studentNumber]; char grade; System.out.println("Enter" + studentNumber + "score:"); for (int i = 0; i < scores.length; i++){ if(score[i] > best) best = scores[i]; } String output = ""; for (int i = 0; i< scores.length; i++) } if (scores[i] >= 90-100) grade = 'A'; else if (scores[i] >= 80-89) grade = 'B'; else if (scores[i] >= 70-79) grade = 'C'; else if (scores[i] >= 60-69) grade = 'D'; else if (scores[i] >= 0-59) grade = 'F'; System.out.println("sorry you have no part here, FAILED."); } }