Program will not print anything, and only error is
Exception in
thread "main" java.util.InputMismatchException
at java.util.Scanner.throwFor(Scanner.java:909)
at java.util.Scanner.next(Scanner.java:1530)
at java.util.Scanner.nextInt(Scanner.java:2160)
at java.util.Scanner.nextInt(Scanner.java:2119)
at StudentGrades.getAverage(StudentGrades.java:37)
at StudentGrades.main(StudentGrades.java:109)