(a) (10%) Write a C# program using an array that calculates the probability of winning in this 1,000 simulations of game
Posted: Tue Jul 12, 2022 8:19 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? (d) (8%) Enhance your program to calculate the length of game for these 1,000 simulations.