This would be your culprit
average = determineGrade(calcAverage);
You never set the value of calcAverage, so it is still 0.0. You most likely want to use total by the looks of it. The names...
Type: Posts; User: Parranoia
This would be your culprit
average = determineGrade(calcAverage);
You never set the value of calcAverage, so it is still 0.0. You most likely want to use total by the looks of it. The names...