Here is a program that divides players into 2 teams based on their birth-month and their gender (odd months versus even months) (3 boys and 3 girls in each team)

The program is first written in pseudocode before being written in Java.

The program also uses a random number generator to allocate a random name to each team.

It then prints out the name list of both teams.

Here is all the pseudocode, with page 1 of the Java solution. You need to code the whole Java solution for this program.

Click here

Need some help with arrays? Here is a PowerPoint as a download below

Click here for some help with arrays.