Need Little Help C Function Currently Creating Game Blackjack Trouble Implementation Funct Q37141493

Need a little help with a c++ function. Currently, i am creatinga game of blackjack and i am having trouble with the implementationof a function for the Ace. An ace can either be a 1 or an 11depending on the total. What i need help with is how to handlemultiple aces that might show up if they are delt to you. In myimplementation the ace starts off as a 1 and is incremented up toam 11 in value towards the total. I need to modify this to handlemore than one ace.

int handtotal(vector<Card> thehand) {
   bool aceover = false;
   int total

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.