|
Next, are you allowed to use more than one class here? It would be nice to be able to create a Product class as well as a Slot class the latter knowing which product it holds as well as how many of this Product it has.
Regardless, you are going to have to have an array of slots, so you may wish to work on that.
Good luck
|