hello all
im having trouble with entering data in arrays that are in a structure
i was given a task to write the code for the following:
1) define structure tstudent that has the following info about students
---index number (int)
---name (char)
---age (int)
2) define structure tgrades that has the following info about grades
---index number (int)
---class (char)
---grade (int)
3) define static array of 100 elements type tstudent and dynamic array type tgrades
i have to then do the following using functions with arguments (no global variables allowed)
a) entering data about students in student array
b) entering data about grades in grades array
if you could write the code you would have my undying gratitude
so please help...