Hi,
I really need help here,and already running out of any idea.
I have this situation whereby I need to distribute lists of lecturers to all students.
Eg:
Num of students : 10
Num of lecturers : 2
Here I will need to store 5 students under each lecturers
as for odd example,
Num of students : 10
Num of lecturers : 3
Lecturer 1 will have 4 students
Lecturer 2 will have 3 students
Lecturer 3 will have 3 students
how do i loop these 2 array of students and lecturers so I can insert the id of student inside each lecturer record? I am not sure how do I transfer this logic into codes..please.. i really need some idea,some example is very much appreciated
I really need help here,and already running out of any idea.
I have this situation whereby I need to distribute lists of lecturers to all students.
Eg:
Num of students : 10
Num of lecturers : 2
Here I will need to store 5 students under each lecturers
as for odd example,
Num of students : 10
Num of lecturers : 3
Lecturer 1 will have 4 students
Lecturer 2 will have 3 students
Lecturer 3 will have 3 students
how do i loop these 2 array of students and lecturers so I can insert the id of student inside each lecturer record? I am not sure how do I transfer this logic into codes..please.. i really need some idea,some example is very much appreciated
Comment