Answer to Question #26304 in C++ for red rose

Question #26304
In the game of blackjack, the cards 2 through 10 are counted at their face values, regardless of suit, all face cards (jack, queen, king) are counted as 10, and an ace is counted as either a 1 or an 11, depending on the total count of all the cards in a player’s hand. The ace is counted as 11 only if the resulting total value of all cards in a player’s hand does not exceed 21, else it is counted as a 1. Using this information, write a C++ program that accepts three card values as inputs (a 1 corresponding to an ace, a 2 corresponding to a two and so on), calculates the total value of the hand appropriately, and displays the value of the three cards with a printed message.
Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

New on Blog