Blackjack program?

The problem has been solved!
Last edited on
if(Padd = 21)

You set Padd to 21 here. This statement returns 21, 21 is not 0 so it is true. So that if statement always gets executed. And padd always gets overridden. == is comparison for equality.
Wow I feel dumb.. I appreciate the help :D
Don't sweat it, we all do that every now and then.
Topic archived. No new replies allowed.