Help, need help for schedule program

        I'm doing a Softball/Program and I'm stuck with the scheduling part.
        This is how it works.....
        1) Askes the user which kind of league he wants,        Knockout or Round Robin.
        2) Askes the user how many teams are in the tournament  ( Max. 8) and how
many games each team will play. It      also askes the user to input the team
        3) Schedule tournament.

I have no idea how to schedule the two tournament systems and I was hoping
if anyone out there could help. I would be most grateful and I will try to
repay you in any way I can. Thank You

Pls email me directly at liewl...@{*word*104}

Thank you in advance.