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...
6 6 1 1 5 
Roll a twenty sided die 5 times...2 4 4 2 10 
Roll a standard die 20times ...1 3 3 1 3 3 6 3 2 5 5 6 5 1 5 1 5 2 6 6 
Roll a standard die 30times ...1 3 5 3 3 6 2 6 6 2 5 3 5 3 5 1 2 6 2 1 2 1 6 5 3 6 1 2 2 5 
Roll a standard die 30times ...2 6 1 1 4 6 5 4 4 6 1 4 6 2 2 1 3 5 6 3 2 2 5 3 3 6 2 3 5 1 
Roll a nine sided die...2 
Roll a nine sided die...2 
Roll a standard die until you get a 1 ten times6 2 4 5 5 1 
1 
6 1 
5 1 
6 4 3 3 3 2 3 1 
4 3 3 6 6 4 3 1 
6 1 
4 5 6 5 4 3 5 4 6 2 3 6 1 
4 1 
2 6 5 3 6 5 5 4 5 1 
Roll a twelve sided die until you get a 1 ten times1 
7 10 4 12 5 11 12 9 5 12 8 4 3 3 12 5 11 5 10 5 10 10 6 11 6 8 2 7 5 4 11 12 11 7 4 9 5 12 3 4 12 6 4 1 
11 9 7 11 6 11 6 1 
8 5 4 2 5 10 2 8 11 1 
6 3 12 7 2 9 12 8 9 10 6 3 12 12 12 9 7 1 
7 10 1 
11 2 2 12 1 
4 7 3 9 7 3 2 3 11 3 1 
11 5 9 3 1 
4 11 8 10 1