Answered You can hire a professional tutor to get the answer.
score = 0.18 exam1 + 0.
I really need help with this programming assignment I'm currently working on that involves writing a program to calculate the score for the class, using the following equation:
score = 0.18 exam1 + 0.18 exam2 + 0.19 final + 0.22 prog assign
+0.08 z yPA + 0.03 z yCA + 0.12 lab
where exam1 and exam2 are your scores on the two midterms, final is your score on the final
exam, prog assign is your programming assignments score, z yPA is your zyBooks participation
activities score, z yCA is your zyBooks challenge activities score, and lab is your labs score.
CptS 111 grades are assigned as follows:
95-100: A
90-94: A-
85-89: B+
80-84: B
75-79: B-
70-74: C+
65-69: C
60-64: C-
50-59: D
< 50: F
For this task I need to wrtie a program with four functions as follows:
• get scores(): Non-void function called from main() with no arguments. Prompts
user for all their scores and returns them to main().
• calc_score(): Non-void function called from main() with all scores as arguments.
Returns score to main().
• calc_grade(): Non-void function called from main() with score as argument. Returns
grade to main(). Use the if-elif-else construct together with Boolean expressions
with relational operators.
• main(): Void function that calls the three non-void functions and prints score and
grade to the screen.
I need the output to look something like this:
1 Please enter the following information:
2
3 Exam 1 score: 100
4 Exam 2 score: 100
5 Final exam score: 100
6 Programming assignments score: 0
7 zyBooks participation activities score: 100
8 zyBooks challenge activities score: 100
9 Labs score: 100
10
11 Your score for CptS 111 is: 78.0
12 Your grade for CptS 111 is: B-
1 Please enter the following information:
2
3 Exam 1 score: 83
4 Exam 2 score: 84
5 Final exam score: 84
6 Programming assignments score: 100
7 zyBooks participation activities score: 100
8 zyBooks challenge activities score: 100
9 Labs score: 100
10
11 Your score for CptS 111 is: 91.02
12 Your grade for CptS 111 is: A-
the format needs to be in python btw.