The implemented code takes in the names of people to group in comma seperated format and also number of people per group and then group them randomly based on the entered parameters
Example Code:
Please enter the names you want to group together in comma seperated format
Titi,Ade,Dara,Lola,Bola,Nina,Dobrev,Klaus,Nick,Elijah
Please enter number of people per group
2
The groups are :
Group 1 - Dara,Bola
Group 2 - Dobrev,Ade
Group 3 - Klaus,Lola
Group 4 - Elijah,Nina
Group 5 - Nick,Titi
Process finished with exit code 0