CS1 Standard Demo Page

The following text was written to the standard output stream when the Roller.java program was executed from IntelliJ.

Roll a standard die five times ...
6 4 5 1 6 
Roll a twenty sided Die five times ...
17 
11 
14 
14 
13 
3 
Roll a standard die 20 times ....
2 
3 
6 
4 
6 
2 
1 
5 
1 
3 
3 
5 
1 
4 
4 
4 
1 
1 
6 
3 
2 

Roll a standard die 30 times ....
2 
4 
5 
5 
6 
6 
3 
6 
6 
3 
4 
3 
4 
3 
6 
1 
2 
1 
2 
5 
5 
2 
3 
2 
1 
2 
1 
2 
2 
4 
4 

Roll a nine sided die 20times ...
4 
8 
9 
5 
1 
5 
6 
1 
6 
1 
1 
6 
7 
1 
7 
9 
6 
5 
4 
1 
2 

Roll a nine sided die 30times ...
1 
4 
4 
1 
8 
2 
3 
9 
9 
1 
2 
2 
6 
8 
7 
1 
5 
5 
3 
8 
9 
9 
5 
4 
5 
2 
3 
1 
9 
9 
9 

TEN TIMES ROLL, ROLL A STANDARD DIE FOR 1
5 2 1 
2 4 6 3 6 1 
6 3 1 
6 3 2 1 
6 1 
3 1 
3 2 5 6 6 5 2 3 5 2 6 5 4 4 2 3 1 
3 2 2 4 4 1 
3 2 5 1 
6 4 6 6 6 6 5 3 4 5 6 5 1 
Ten times, roll a  twelve sided die for a 1.
1 
6 8 4 2 8 1 
9 12 6 1 
2 4 5 5 6 2 3 10 4 12 6 7 3 10 8 9 8 1 
7 6 8 7 11 4 6 6 5 9 5 7 3 5 4 3 9 2 12 5 11 1 
5 12 8 1 
10 6 11 10 6 4 9 2 1 
12 4 3 2 11 10 1 
9 8 10 12 2 5 2 11 11 6 5 5 9 5 12 10 12 3 10 8 10 2 7 7 3 6 1 
2 6 1