Question: 2) Simulating a dice roll (40 points) We have a six-sided dice. Since we are in a computer programming class (and for your convenience) assume

2) Simulating a dice roll (40 points) We have a six-sided dice. Since we are in a computer programming class (and for your convenience) assume that faces are marked 0 through 5. In this game of dice roll, we win if we get the number 0. Write a C program, dice.c, to ask the user the number of times to roll the dice. Output the number of wins along with the probability of winning Your program must 1. Use srandO and rand) library functions from
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
