CS1 Standard Demo Page

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

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

Roll a twenty sided die 5 times ...
9 
13 
4 
11 
12 

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