It is a matchmaking program where it compares two individuals rating of each other to calculate their "likability" and then arranges the entire group according to the best overall likability.
My problem is that when num_each is 4 or 8 my program crashes. (num_each represents the number of pairings there are, i.e. 4 men 4 women then num_each = 4)]
I have a conditional statement that blocks the code from receiving a 4 right now but I'd prefer to fix it.
My program works for 1,2,3,5,6,7,9,10 (10 is max) so I don't see what could possibly cause those two to crash. Any ideas? I know you probably want to see my code but I don't think it'd be safe to post it because someone could copy it and then I wouldn't get credit.