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 
2 
2 
2 

Roll a twenty sided die 5 times...
15 
2 
16 
11 
17 

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

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

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

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

Ten times, roll a standard die for a 1.
4 4 1 

6 2 4 3 3 1 

2 6 5 4 3 6 4 4 3 1 

6 6 3 1 

4 4 6 1 

1 

1 

4 2 5 4 3 3 1 

2 3 3 5 6 2 4 6 4 1 

5 6 3 3 3 1 

Ten times, roll a twelve sided die for a 1
11 2 7 3 11 1 

1 

2 12 2 10 9 3 10 12 3 8 9 11 7 4 8 3 12 12 10 1 

12 12 5 4 4 11 8 12 8 11 10 10 11 10 3 6 3 9 10 4 5 5 4 6 7 8 3 12 11 9 9 1 

9 9 1 

8 1 

6 10 2 9 7 1 

5 2 5 4 4 7 5 7 1 

6 12 9 5 9 5 12 4 5 10 11 2 2 4 11 5 5 7 5 12 1 

8 4 11 5 3 10 7 2 7 10 3 4 3 1