Data structures to be used
The program should use two distinct structure-types to store the students’ scores: the 1st type used for keeping scores of 4 quizzes while the 2nd type is used to keep the scores of 2 exams. A student can have either quizzes (if Engineering student) or exams (if Computer Science student) but not both, so you need to define a union structure to keep both structure types. The program must then use a single general structure called student that contains student’s first-name, last-name, college, grade (which to be calculated later) and the scores.
Finally, the data read from the file should be stored in a linked list of type student.
struct student{
string first_name;
string last_name;
string college;
char grade ;
double *scores;
};
struct node1
{
student data;
node1 *next;
};
i do not know if its ok or not
can any one help me please ???
i cant start my code without this structur