Quote:
I need help to make the values of Jack, Queen, and King equal to 10 and not (11,12,13 as in my program)
How about:
if (value > 10) value = 10;
As to the other one, you just need to check whether the player holds an Ace if his total goes above 21, and reset the Ace value to 1. Or offer an option for the player to decide.