Some comments:
Instead of having to repeat the code for all the slots you could use arrays and loops.
Why not call srand at the beginning of main? If generateSlots() is called multiple times within the same second you will get the same slots each time.
Shouldn't you use == instead of = on line 107?