Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dice simulator

807600Jun 17 2007 — edited Jun 18 2007
I am very very new to all this..

What I have to do is make a dice simulator thing where you ask the user how many dice they want to roll and how many sides they want and how many times they want to roll them. The result would be the total of the numbers rolled. If you dont understand what I'm saying is that for example it would go like this: User chooses to roll two dice and both have 11 sides. One side gets lets say 9 and the other 7 so the output would be 16.

So far I got a variables for side count, dice count, and # of rolls.

Message was edited by:
awhiteguy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2007
Added on Jun 17 2007
20 comments
451 views