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 is based on three components, which are already stored in double variables: quizScore, homeworkScore, and mpScore, each as numbers between and also add a few points of extra credit, stored in an int variable extracredit. Quizzes, homework, and the MP are worth and of your grade, respectively. A course sta member wrote the following method to calculate your grade as a percentage between and However, it has a few small mistakes which you will want to correct! Dont forget to inclu the extra credit!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
