Says grade isn't initializing
import java.util.*;
public class Test
{
static Scanner console = new Scanner(System.in);
public static void main(String[] args)
{
char grade;
switch (56 / 10)
{
case 0: case 1: case 2:
case 3: case 4: case 5: grade = 'F';
break;
case 6: grade = 'D';
case 7: grade = 'C';
case 8: grade = 'B';
case 9: case 10: grade = 'A';
break;
default: System.out.println("Invalid Test Score");
}
System.out.println(grade);
}
}