Results 1 to 5 of 5
Thread: Roll dice class with three dices
- 07-08-2008, 04:04 AM #1
Member
- Join Date
- Jul 2008
- Posts
- 1
- Rep Power
- 0
- 07-08-2008, 04:48 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Do you want to match three numbers? Little bit confusing about your question.
Seems here you are trying to compare two numbers only.Java Code:while ((total1 != total2 & total3 != total2));
- 07-08-2008, 04:36 PM #3
Could you post the output from the program and explain why it is not what you want?
What are die1, die2 and die3? They appear to be variables in the PairOfDice class. What values do they have? How are those values set?Last edited by Norm; 07-08-2008 at 04:38 PM.
-
You're not explaining things well, and this is making it harder for us to help you.
One great resource is this article entitled How To Ask Questions The Smart Way . It will tell you how to formulate your questions so that the folks here will be better able to answer them. Good luck.
-
Similar Threads
-
java help please- two sided dice
By pat8 in forum Advanced JavaReplies: 3Last Post: 07-01-2008, 02:25 AM -
Roll 2-Dice "Pig" Game Help
By King8654 in forum AWT / SwingReplies: 7Last Post: 04-07-2008, 06:58 PM -
Defective code for dice, help please?
By byron in forum New To JavaReplies: 10Last Post: 04-01-2008, 06:22 AM -
Help debugging a dice game
By Windoze in forum New To JavaReplies: 7Last Post: 11-22-2007, 01:01 AM -
help debugging a dice game
By Windoze in forum Advanced JavaReplies: 0Last Post: 11-16-2007, 10:28 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks