COP3223 Intro to C+ Programming

Task:

Problem: Rolling Dice

You are to write a C program that generates random numbers distributed according to the distribution: the sum of two 6-faced dice:

1. one of which is a fair dice; the occurrence of its faces, relative to each other, is 1,2,3,4,5,6.

Wait Before you Leave! I have something for you.
I have this question in our website since we have worked on it and the student was happy after a good score.
Get it solved from our top experts within 8 hrs!
Order Now

2. one of which is a biased dice; the occurrence of its faces, relative to each other, is 1,2,3,4,4,5,6 (number 4 occurs twice as often than the others.)

Your task:

1. Study Slides 24 -28 of “FunctionCalling.pptx”

2. Answer the following question in a separate file, called “Assignment#4.pdf”:

• Show all the possible outcomes of the experiment (rolling the dice) using a 2-D table. (see Slides 26, 27)

• What are the events (possible sums) such as 2, 3, … (See Slide 26, 27).

3. Write a C program (rollingDice.c) that collects the results of 1 million rolls and calculates the distribution of these events (see Slide 27, 28)

Hi there, would you like us to help you do this question?

We are professional assignment help service for students who can't even. Get your papers written starting at just $11.99 a page.

Do my question How much will it cost?

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Order Over WhatsApp Place an Order Online

Do you have an upcoming essay or assignment due?

All of our assignments are originally produced, unique, and free of plagiarism.

If yes Order Similar Paper