Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2016Spring

01.11.16 - 05.08.16

Introduction to Computer Programming

CSYS1203

Tuesday Thursday
01:00 PM - 02:20 PM

Dice Odds Extra Credit

Extra Credit

Objective: Practice working with Arrays

pastdue

Submit Your Solution

Extra Credit

Request a Copy of your Solution

Extra Credit

Requirements

Pseudocode is structured and valid0 pts
Solution is valid and would find correct output0 pts
Total0 pts

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.