Number of gifts each:
Names, one per line (for example):
Program output:
  • First Name will give to Third Name, and Second Name.
  • Second Name will give to Fourth Name, and Fifth Name.
  • Third Name will give to First Name, and Fifth Name.
  • Fourth Name will give to First Name, and Second Name.
  • Fifth Name will give to Third Name, and Fourth Name.

Gift chooser rules:

  1. Each giver must give (and will receive) 2 gifts.
  2. No giver may give a gift to self.
  3. No giver may give more than one gift to the same recipient.

See Also:


005487

webmaster