Created calculation to find the value of the quiz score