You could also do this change to your original code. I think this was what you wanted



grade = determineGrade(calcAverage(a,b,c,d,e));


moreover,

Your syntax in the method public static...