I have to write a program that takes a two dimensional array of dice and sees the combinations the dice makes within 360000 rolls. I have my code to work, but what I'm completely stumped with is printing it in a matrix. I know you have to embedd 2 for loops, but I don't know how else to go about it. what I need to do is something like is
Die 1
1 2 3 4 5 6
1
D 2
I 3
E 4 Results
2 5
6
My code just prints the combinations going down as so
result
result
result
etc... - Full Post
No comments:
Post a Comment