Question: Write an algorithm and C++ code of two Computer Bots picking randomly card values (1-13) from a stack of diamond, spade, hearts and clubs cards.

Write an algorithm and C++ code of two Computer Bots picking randomly card values (1-13) from a stack of diamond, spade, hearts and clubs cards. Find out how many times Computer Bot 1 picks Diamond Jack (value 11) and Computer Bot 2 picks Spade Queen (value 12) for an iteration of 10. Make a guess for each Bots and see how close you are in your guess. For right guess score is 100. Check your final score after 10 such guesses.

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!