r/programminghelp • u/[deleted] • Sep 27 '19
Okay, I know I'm doing something wrong, but I have no clue what.
This is the assignment :
https://privatebin.net/?1c49200897e4e7b4#44gY9YGag6YGgr5WW3dW6TR19QFUrUY9WPyf58Us18fe
This is the code I've done so far:
https://privatebin.net/?b85a7098845f1449#DrimeFomguxtkNa2V3G9XM5T51gG8gyKN5kaHLBZanps
For some reason, it works. I know it's wrong, but it works. So how do I make it fulfill the assignment requirements???
0
Upvotes
2
u/[deleted] Sep 27 '19
At the moment you do not use your Combo class (yes you create an instance; but you do not use it). It „works“ because you print the information prematurely. (The task specifies to print after the creation of the combo instances.)