Login or Create an Account to view the mark scheme, comment, and add to a test

A die is rolled N times and the results stored in a collection called ROLLS. The die is normal, that is, with numbers 1 to 6 inclusive across it's sides.
Write pseudocode to describe the algorithm required to count how many of each number are rolled and store each total sequentially in an array called COUNTS so that, for example, the number of times a 5 is rolled is stored at array index 4. Output COUNTS.

[5]Short Answer5 MarksCommunity

14 Uses17 Views0 Likes