CPM Homework Banner
6-16.

Myriah hates doing the dishes, but her parents insist that she must help out and take a turn sometimes. Myriah is only willing to do the dishes sometimes, so her mom proposes that they roll two dice. If the sum of the dice is or less, Myriah will do the dishes. If the sum is or more, one of her parents will do the dishes.

How many days each week can Myriah expect to have to do the dishes? Create a simulation of rolling the two dice (generate two random integers between and ) and record the sum. Run the simulation times to determine how often Myriah can expect to do the dishes.

Use a random number generator to generate random integers from to .

Record the sum of each pair of numbers ( numbers is pairs).

How many pairs of numbers have a sum of or more?