C program to siulate an experiment rolling two six sided fairdice
User to enter number of rolls
Print out each dies result after each roll
Tally up and determine % of time the sum of the dots on the twodice equal 6
Sample run:
Input
Enter Pos integer value: 4403
Enter number of rolls:50
Output:
Die 1 rolls:2
Die 2 rolls: 5
……..
…….
Die 1 rolls: 6
Die 2 rolls:1
Number of rolls:50
Percent of six:12
Expert Answer
An answer will be send to you shortly. . . . .