Hi!
I have this problem that I have to solve in PHP. I have such a difficult with this programming and I would be so grateful if someone could help me solve this.
The problem:
A lecturer has a group of students who need to be assigned to one of two groups for the
purpose of workshop sessions. She has a CSV file containing all the student records in the
following form:
student number, student first name, student last name
and requires that the students in this file are split into two equal sized groups based on the
alphabetical order of their last names. These two groups should be written out into separate
files in the alphabetical order of their last name.
I attach the student list in the post (students.txt)
If someone could spend their precious time helping me I would be forever thankful!
students.txt