Question: In only C++ please. Write a program (organized into functions if you plan on doing the optional... it's easier that way) that simulates a simple
In only C++ please. Write a program (organized into functions if you plan on doing the optional... it's easier that way) that simulates a simple Blackjack card game. in Blackjack, the object is to get cards totaling 21, or to get closer to 21 than the dealer without going over 21. (1) The player receives two cards from the dealer. (2) Then the dealer gets two cards, one face up, and one face-down. (3) you can keep asking for additional cards from the dealer (a "hit"), until you decide to quit taking cards (to "stand"). Once the player either goes over a total of 21 (termed a "bust") or decides to stand, (4) the dealer draws cards according to dealer rules (see notes, below, for these rules.) Whoever is closer to 21 (without busting) is the winner
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
