hello..i got a probem here.. You see that i have been given a task that is to make group of 4 people. The data i had received were 79 names including their ID, gender and races....
There are condition need to be satisfy that are in a group there should be only 2 man and woman, they shouldnt have be in the same races.

i hope somebody could help me...

thank you

Write down how you would do it, if you had to do that by hand. If you do that it is much more likely you will come up with a solution.

ok...it need to be done by using pascal programming..(i am using dev-pas )
i got the raw data (that have the student id, race , etc) and also the condition that need to be satisfied data1

So, what do you have so far ?