### Fall 2021 Grade Calculation

Computers can do basic math, quickly and with near-perfect accuracy. This is one of the many things that makes them so useful. Particularly when computing something important, like your grade!

Your grade in CS 124 is based on three components, which are already stored in `Double`

variables: `quizScore`

,
`homeworkScore`

, and `mpScore`

, each as numbers between 0 and 1.
Quizzes, homework, and the MP are worth 40%, 30%, and 30% of your grade, respectively.
A course staff member wrote the following method to calculate your grade as a percentage between 0 and 100.
However, it has a small mistake which you will want to correct!