Hey, I have to use this today in my programming test, and I don't remember how to calculate a weighted average. Say there are 3 grades a Quiz, a Test, and Homework.

The test is weighted 60% of the grade, the homework is 20%, and the Quiz is 20% of the grade.

Say the grades for these are: 85, 70, 90

How would I calculate the weighted average? Any help extremely appreciated.