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...

Ancient Dragon commented: wrong attitude. -5
Nemoticchigga commented: just looking for code +0

>>if you could write the code you would have my undying gratitude
I will after you deposite $10,000.00 USD in my paypal account.

DaniWeb is not a sofware whorehouse. We help, you write.

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.