I have a very hard programming challenge and i need help... I have nothing so far, so im hoping somebody could help me build it...
Im to write a program that uses a structure to store student name, student ID number, pointer to and array of test scores, average test score, and course grade.
Program should keep list of tests scores for a group of students, ask the user for how many test scores and how many students there are. It should then dynamically allocate (pointer?) and array of structures. Each structure's test menber should point to a dynamically allocated array (pointer?) which will hold the tests scores.
After this, program should ask for ID number and test scores for each student. Average test score should be calculates and stored in the average member of each structure. score grade should be computed (91-100=A and so on).
Score grade should then be stored in the Grade member of each structure...once data is calbulated, a table should show student's name, ID number, average test score, and course grade...
These are the instructions, from what I understand, I think it should look like this...
ask for students...
ask for test scores..
student 1: ID? name?
something like that...help!!!