write a program that uses a structure to store the following data Member Name De
ID: 3618550 • Letter: W
Question
write a program that uses a structure to store the following data Member Name DescriptionName
Idnum
Tests
Average
Grade Student Name
Student Id Num
Pointer to an array of test scores
Average test score
Course Grade
The program should keep a list of test scores for a group osstudents. it should ask the user how many test scores there are tobe and how many students there are. it should then dynamicallyallocate an array of structures. each structure's tests membershould point to a dynamically allocated array that will hold thetest scores. After the arrays have been dynamically allocated, the programshould ask for the ID number and all the test scores for eachstudent. the average test score should be calculated and stored inthe average member of each structure. the course grade should becompound on the basis od teh following grading scale: Average Test Grade Course Grade 91-100
81-90
71-80
61-70
60 or below A
B
C
D
F the course grade should then be stored in the grade member of eachstructure.once all this data is calculated, a table should bedisplayed on the screen listing each student's name, ID number,average test score, and course grade.
Member Name Description
Name
Idnum
Tests
Average
Grade Student Name
Student Id Num
Pointer to an array of test scores
Average test score
Course Grade
The program should keep a list of test scores for a group osstudents. it should ask the user how many test scores there are tobe and how many students there are. it should then dynamicallyallocate an array of structures. each structure's tests membershould point to a dynamically allocated array that will hold thetest scores. After the arrays have been dynamically allocated, the programshould ask for the ID number and all the test scores for eachstudent. the average test score should be calculated and stored inthe average member of each structure. the course grade should becompound on the basis od teh following grading scale: Average Test Grade Course Grade 91-100
81-90
71-80
61-70
60 or below A
B
C
D
F the course grade should then be stored in the grade member of eachstructure.once all this data is calculated, a table should bedisplayed on the screen listing each student's name, ID number,average test score, and course grade.
Member Name Description
Name
Idnum
Tests
Average
Grade Student Name
Student Id Num
Pointer to an array of test scores
Average test score
Course Grade
Explanation / Answer
x.Hr...
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.