CS1 Standard Demo Page

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

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

Roll a twenty sided die 5 times...
15 
6 
20 
11 
6 

Roll a standard die 20times...
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 
6 

Roll a standard die 30times...
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 
5 

Roll a nine sided die20times...
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 
9 

Roll a nine sided die30times...
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 
4 

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