Question: You will write a program to help me determine the final letter grade and calculate the average score. The steps and requirements are described below:
You will write a program to help me determine the final letter grade and
calculate the average score. The steps and requirements are described
below:
First, create a dictionary of students with student name as key and score as
value.
For simplicity, name students as student student etc. Scores are random integers from
Hint: you know how to use a loop to count from to Use string concatenation, you add
student with the control variable i This will give you student names.
Use a FOREACH loop to output each student in terms of the name and score.
Calculate and output the average score of the class.
Determine and output the letter grade based on the following scheme:
A if score
B if score
C if score
D otherwise
Overall, you program needs to output the name, score, and letter grade
of each student, and the average score of the class.
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
