Question: using c programming language 3) Craps is a popular table game. A person throws two dice and wins or loses based on the outcome of

using c programming language  using c programming language 3) Craps is a popular table game.

3) Craps is a popular table game. A person throws two dice and wins or loses based on the outcome of the dice. If the sum of the two dice is 7 or 11 the person wins. If the sum is 2, 3, or 12 the person loses. By using the random number generator to represent the value of a die, calculate the probability (percentage/histogram) of each of the outcomes in the range [2,12] in 100,000 trials

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!