(a) (10%) Write a C# program using an array that calculates the probability of winning in this 1,000 simulations of game
Posted: Mon Jul 11, 2022 9:50 am
(a) (10%) Write a C# program using an array that calculates the probability of winning in this 1,000 simulations of game of craps; in other words, how many games out of these 1,000 games were the games that the player won? (b) (4%) Calculate or find the probability of losing in these 1,000 simulations. (c) (4%) What is the probability of tying (no winning, no losing) in these 1,000 simulations? Why? (d) (8%) Enhance your program to calculate the length of game for these 1,000 simulations.