Question: Create code to generate 1 0 students, and 3 exams per student. in c program I need Bill Rod Jake Say Will Rey Joe Jim

Create code to generate 10 students, and 3 exams per student. in c program
I need
Bill Rod
Jake Say
Will Rey
Joe Jim
Dave Kay
Adam Russ
Mac Joy
Dash Bill
Ford Most
Eqe Benz
for name and last name
BR001
JS002
WR003
JJ004
DK005
AR006
MJ007
DB008
FM009
EB010
for student ID
and give them exam number and score
You will create a Student class, and an Exam class. The Student class should have the following properties:
First Name
Last Name
ID (Must be unique)
The Exam class will have the following properties:
Exam Number (1,2, or 3)
Student Id
Score that the student received (0-100)
Store the exams in a dictionary related to each student. Loop through each of the students and calculate their average score on the exams.
HINT:
You will use lists to store students, and dictionaries to store the exams. You will want to use the Student ID as the key for the dictionary, and a list of exams to store the exams.
Your output should look like the output below:
Student 1: 83.33
Student 2: 92.66
..
Student 10: 72.00

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!