Dice Odds

40 points

Dice Odds

Requirements

Pseudocode is structured and valid10
Solution is valid and would find correct output30
Total40 pts

Resources

Objective

Practice working with arrays

Instructions

Design a program in pseudocode that will calculate the odds of rolling any total when two six sided dice are rolled.

The output of the program should contain all of the possible totals of the two rolled dice and the odds/percentage chance of rolling each of those particular totals.

Example output

2: 2.77%
3: 5.69%
4: 8.35%
5: 11.58%
6: 13.86%
7: 16.67%
8: 13.54%
9: 11.05%
10: 8.26%
11: 5.64%
12: 2.58%

Your pseudocode should be structured and valid.