Programming face cards and aces

I am supposed to make a program that adds up a players blackjack hand. I am having trouble with the face cards and the aces. How do I make it so that when the user enters "jack" or "queen" or "king" the output becomes 10? And when the user enters "ace" the program asks the user if they want it to be 1 or 11?
I'm pretty sure that an Ace is always 11 until it would cause the player to bust at which point it is a 1. I have never heard of anyone "choosing" the value.
Topic archived. No new replies allowed.