I have a very hard programming challenge and i need help... I have nothing so far, so im hoping somebod 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..
build arrays

student 1: ID? name?
test1:
test2:

student2: ID?Name?
test1:
test2:

something like that...help!!!

Have you studied your text book? Have you paid attention in class (or even attended them) ? That assignment is not for beginners, but more likely mid-term or later. If you do not know what a pointer is then you will not be able to complete the assignment. Same with structures.

If pointers confuse you (which it does most people) here is a good tutorial.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.