Are you working with code that is the same as in post#1?
Type: Posts; User: Norm
Are you working with code that is the same as in post#1?
I doubt my changes would effect the execution of the if/else if statements you are concerned about.
One problem with your original program is getting the dice to be 6 6 6 1. How many times do you...
I do not use an IDE. I use command prompt with javac.exe and java.exe.
I didn't run the program as you wrote it. I changed these lines so I did not have to respond to the prompts and so the dx...
Here is what I get when I run the code:
That looks a lot better.
Can you copy the FULL contents of the console from running the program that shows the problem and paste it here? Add some comments where there is a problem
The code tags I fixed have been lost.
The code's indentations are not correct. The do{}while within another do{}while should be indented.
do //beginning of do loop
{...
The indentations of the code makes the logic hard to follow. The nested do{} while statements need to be indented.
Please fix the indentations to show the logic.
Can you copy the contents of the...