i have a question on how i could calculate the overall score of the users input using five instance variables, three for three quizzes, one for a midterm and one for a final exam. the quizzes are graded between 1 and 10 while the midterm and final are graded between 1 and 100. the quizzes count for 25 percent of the grade, the midterm 35 percent, and the final 40 percent

i got everything else to work on my program, i just need help calculating the overall grade and i also need it to go into my toString method so when i call the toString method in my driver program, it will output the three quiz grades, the midterm the final ,and the overall grade which needs to be calculated and not inputed like the others.

i appreciate any help thank you very much