Random 10000 C1; Integer 1 6. Random 10000 C2; Integer 1 6. Name C3 = '10C1+C2' Let '10C1+C2' = C1 * 10 + C2 Tally '10C1+C2'; Counts; Percents. %Dotplot '10C1+C2'. Let C4 = C1+C2 Tally C4; Counts; Percents. %Dotplot C4. Name c5 = 'Outcomes' c6 = 'N1' c7 = 'Percents' Statistics C4; By C4; GValues 'Outcomes'; N 'N1'; Percent 'Percents'. Let C8 = 'Percents' / 100 Chart Sum( C8 ) * 'Outcomes'; Bar; ScFrame; ScAnnotation; Axis 1; Label "Outcomes"; Axis 2; Label "Probability".