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 ifIn 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!