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 5 times ...
5 
2 
3 
5 
4 

Roll a twenty sided die 5 times ...
2 
11 
6 
11 
9 

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

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

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

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

Ten times, roll a standard die for a 1.
4 4 5 4 5 2 1 
1 
3 2 6 3 4 6 5 6 4 5 6 6 6 1 
1 
2 2 4 1 
3 3 1 
3 5 4 6 4 1 
1 
5 4 5 6 6 3 2 1 
3 1 
Ten times, roll a 12 sided die for a 1.
12 12 8 9 12 8 12 11 6 3 4 5 2 1 
4 8 9 10 1 
6 12 5 3 3 6 9 9 9 6 4 8 1 
11 3 1 
8 1 
8 6 11 3 9 6 2 8 4 10 4 1 
4 10 5 8 6 8 11 7 6 9 1 
7 7 12 12 5 4 12 1 
12 5 3 2 9 12 10 6 11 6 12 9 7 4 12 9 9 1 
12 5 7 7 7 2 11 10 12 9 1