I have to write a sort of blackjack program using a switch loop, I have most of it done but it needs to take letters for the face cards upper and lower case which all = 10, and have a condition for the ace being 1 or 11 (which ever helps the user more). The book gave a hint that the cards should be var. type char, but everything i tried doesn't work. So my question is how do I implement this? Do I state it some how in each case or at the start of my program?
Thank you for your help.
Thank you for you help, I certainly will study this. It uses some things i haven't covered in my class yet but get the gist. I think the main thing i was missing was the int convert char with individual cases for each input.