Question: THE PROGRAM MUST BE IN C. Dont do it in any other lenguage. 2. Write a program that simulates rolling a pair of dice. These

THE PROGRAM MUST BE IN C. Dont do it in any other lenguage.

THE PROGRAM MUST BE IN C. Dont do it in any other

2. Write a program that simulates rolling a pair of dice. These dice are a bit different: they have two sides the same; it means the sides of one dice are: 1, 1, 3, 3, 5, 5. After each roll of the pair, the program sums the dice values. The program rolls the pair X times, and determines a frequency of occurrence of different sums (the sums will be in the range from 2 to 10). Additionally, the program computes the mean of the sums (over those X rolls). Make sure that your program runs with X in the range from 10 to 10e9. The output's format should be the shown values are arbitrary): Sum Frequency 00 10 Mean value is

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!