MAth Equation not working properly
I have been working on a math equation for 2 days.  The whole process is supposed to take the information from a driver and the return the final average.  However, for some reason it is not processing correctly.  Any ideas would be much appreciated. 

public double Overall() {
        double finalProjectGrade = ((projectGrade1 * 0.1) + (projectGrade2 * 0.1) + (projectGrade3 * 0.1) + (projectGrade4 * 0.1));
        
double finalQuizGrade = ((quizGrade1 * 0.5) + (quizGrade2 * 0.5));
        
double finalTest = (finalExam * 0.25);
        
double finalParticipationGrade = (participationGrades * 0.25);
        
double Overall = ( finalProjectGrade + finalQuizGrade + finalTest + finalParticipationGrade);
        
return Overall;
    }


MAth Equation not working properly
===

I have been working on a math equation for 2 days.  The whole process is supposed to take the information from a driver and the return the final average.  However, for some reason it is not processing correctly.  Any ideas would be much appreciated. 

public double Overall() {
        double finalProjectGrade = ((projectGrade1 * 0.1) + (projectGrade2 * 0.1) + (projectGrade3 * 0.1) + (projectGrade4 * 0.1));
        
double finalQuizGrade = ((quizGrade1 * 0.5) + (quizGrade2 * 0.5));
        
double finalTest = (finalExam * 0.25);
        
double finalParticipationGrade = (participationGrades * 0.25);
        
double Overall = ( finalProjectGrade + finalQuizGrade + finalTest + finalParticipationGrade);
        
return Overall;
    }

