Hello! And a massive thank in advance for any help!
I've been banging my head against this for quite a while now. I'm trying to figure out why the output for this testdriver I created for this card class keeps showing an extra card. I need it to print five random
cards (which it does), and then four more random
cards and one invalid, which it also does, but it adds one more random card at the end which shouldn't be there. Just learning so all help so appreciated.
Here is the code I've written so far with the Card class at the top and the TestDriver at the bottom.