Question: IN JAVA: Using Monte Carlo Simulation, find how many hands need to be dealt in order to gain a hand of 3 of one card.

IN JAVA:

Using Monte Carlo Simulation, find how many hands need to be dealt in order to gain a hand of 3 of one card. For example your hand might 5 (clubs), 6(hearts) , 6(diamonds), 6(spades), Queen(hearts). This hand has 3 of a kind( or 3 of the same number ) which is 6 in this case. Do 1000 simulations and find the average number of hands that needed to be dealt before finding 3 of a kind. Do not use Arrays. You can google Poker hands and find the expected odds. It is likely your average will be lower than published averages.

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!