+ 2

Give the half gang from total number of girl to each team.. (EX:- we have 4 gang and 2 team) 4/2 = 2 gang give to team1)

Pls check my code and help to build the logic.. 🙏🙏 Pls help 🥺🙏🙏 Logic for code is ... I have total 2 team. And 4 girls gang. Then how to give the gang to team1 amd team2.. Note:- Don't give the that gang to same team which gang has same name of the girl.. Ex.:- janvi rushita <- gang 1 Krishna janvi <- gang 2 Bavri Daya <- gang 3 Heli Masti <- gang 4 So, we can't give the gang 1 and gang 2 the same team(ex;- team1 or team2) . Output :- team1 = janvi rushita <- gang 1 Bavri Daya <- gang 3 team2 = Krishna janvi <- gang 2 Heli Masti <- gang 4 https://code.sololearn.com/cwBHOuj23EPk/?ref=app

7th Feb 2021, 3:22 AM
Janvi Desai
1 Réponse
+ 1
Mam , I am beginner so I could not help in this problem but I am actually answering you because no one have answered you as help , but I want your help to improve my c language coding , could you help me , please ... 😔😔😔 I'll be grateful to you if you helped me in this way ...
12th Feb 2021, 7:17 AM
K L Shekhar
K L Shekhar - avatar