1 dice rolling 15 points lt xml namespace prefix o ns quot urn schemas microsoft com 5346544

1.      Dice Rolling (15 points)

Write a program that simulates the roll of two dice using the random number generators. You will call the rand () function once for each dice. Each rand() call will return a number between 1 and 6.   Create a do loop to generate a total of 100 dice rolls and calculate the sum of the two dice values.   You should create an array to count the number of occurs of each total between 2 and 12.   Output the results of the Array.

Array (0) has the number of times a two total was generated.

Array (1) has the number of times a three total was generated

Array (2) counts the number of times a total of four was generated etc.

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now