Dice rolling outcomes?

all right anyone understand how to make your java program that might output the the many possible available comes regarding rolling 3 OR MORE 6-sided die love it if more need help and im clueless

There tend to be 6 x 6 by 6 probable outcomes.
Do a 3 level regarding loops
pertaining to (i=1 in order to 6)
pertaining to (j=1 in order to 6)
pertaining to (k=1 in order to 6)
exhibit i, j, k
subsequent k
subsequent j
next i

You might make 3 nested for() loops such as this:

for(int i = YOU; i < 7; i ++)
for(int j = 1; j < SIX; j++
for(int k = YOU; k < 7; k++)
Technique.out.println(i+” “+ j + ” ” + k);

Leave a Reply