Question: Your grade in CS 1 2 4 is based on three components, which are already stored in double variables: quizScore, homeworkScore, and mpScore, each as

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. also add a few points of extra credit, stored in an int variable extracredit. Quizzes, homework, and the MP are worth 40%,30%, and 30% of your grade, respectively. A course sta member wrote the following method to calculate your grade as a percentage between 0 and 100. However, it has a few small mistakes which you will want to correct! (Don't forget to inclu the extra credit!)
 Your grade in CS 124 is based on three components, which

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!