Question: please refer to the code below and write a C + + code that outputs heat or state according to the roles showed in the

please refer to the code below and write a C++ code that outputs heat or state according to the roles showed in the table the coach should take in three input values and pl
If the player has a usable ace
\table[[Player,Dealer's Card],[,2,3,4,5,6,7,8,9,10,A,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,],[12,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,],[13,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,],[14,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,],[15,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,],[16,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,],[17,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,],[18,Stand,Stand,Stand,Stand,Stand,Stand,Stand,Hit,Hit,Hit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,],[19+,Stand,Stand,Stand,Stand,Stand,Stand,Stand,Stand,Stand,Stand,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,]]
If the player does not have a usable ace
\table[[Player,Dealer's Card],[,2,3,4,5,6,7,8,9,10,A],[4-8,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit],[9,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit],[10,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit],[11,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit,Hit],[12,Hit,Hit,Stand,Stand,Stand,Hit,Hit,Hit,Hit,Hit],[13,Stand,Stand,Stand,Stand,Stand,Hit,Hit,Hit,Hit,Hit],[14,Stand,Stand,Stand,Stand,Stand,Hit,Hit,Hit,Hit,Hit],[15,Stand,Stand,Stand,Stand,Stand,Hit,Hit,Hit,Hit,Hit],[16,Stand,Stand,Stand,Stand,Stand,Hit,Hit,Hit,Hit,Hit],[17+,Stand,Stand,Stand,Stand,Stand,Stand,Stand,Stand,Stand,Stand]]
7.1 Input
Input consists of three cards, each on their own line. The first card belongs to the dealer, while the remainung two belong to the player.ease let it be a viable code that runs
 please refer to the code below and write a C++ code

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!