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.