Simple Java project to simulate die. I can't get it to work how I want and ideas???

+1 Nova Dadow · February 6, 2015
This is how I want it to print out below, using the random number feature as you can see in my code. What am I doing wrong?
How many times do you want to roll the die? 10
Thank you! The die roll results for 10 rolls were:
2
3
4
5
3
2
6
2
1
6
The number of occurrences of each face were as follows:
1: 1
2: 3
3: 2
4: 1
5: 1
6: 2
The sum of die rolls was: 34

Post a Reply

Replies

Oldest  Newest  Rating
+1 Pere Garau Burguera · February 6, 2015
You forgot to post your code! Anyway, what's wrong? It's rolling 10 times and it's counting well. 
  • 1

Java / Android Development

107,224 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator