I need to use LOOPS to list the sum of two dice (6 sided, fair) and the probability of each outcome (sum).
What i had in mind was to create an array of possible sums, which is 2 to 12. I can calculate the probability of possible sums by hand, but how do I use LOOPS to do that?
Your program should return two arrays:
- A list of the possible outcomes (sums)
- A list of the corresponding probabilities for each possible outcome. Make sure that all of your probabilities add up to 1.
THANK YOU ALL!