Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Ultimately, you will author a program capable of determiningvarious probabilitie

ID: 3610407 • Letter: U

Question

Ultimately, you will author a program capable of determiningvarious probabilities of a card deck (e.g. odds of drawing two ofthe same card). The following lists what must be done to completethis task.

1. Design and implement a Card and Deck class
2. Use these classes to write tests which experimentally validatethe probabilities of drawing different card combinations.

This assignment is to develop a program to compare the analyticalprobability of an event with the simulation results. For thisassignment, the event is drawing a flush (five cards which are allthe same suit). The user will be allowed to enter the number ofexperiments to be used in the simulation. We will follow the FiveSteps Process in developing this solution. For that reason, youwill be required to show
Input/Output Description
Hand written example of this problem
Coded solution
Test cases and their output

Explanation / Answer

please rate - thanks hopefully will get you started it's a C++ program which deals 4 hands of 5 cards each. Cardswill not duplicate #include using namespace std; int main() {bool cards[4][13]; int hands[4][5][2]; string suit[4]={"hearts","diamonds","spades","clubs"}; stringcard[13]={"ace","2","3","4","5","6","7","8","9","10","jack","queen","king"}; int i,j,num,type; for(i=0;i