Unfortunately, i can't help you with that. I'm not at all familiar with the Eclipse IDE and how it works.
Type: Posts; User: andreas90
Unfortunately, i can't help you with that. I'm not at all familiar with the Eclipse IDE and how it works.
for (total=2; total<=numbThrows; total++)
In the above code total goes up to numbThrows. And then
fractionOfReps = (float) frequency[total] / numbThrows;
So when total equals 13 your program...
Can you post the updated code that gives you this output? And also what you input in the How many dice rolls would you like to simulate? question?
Hello Nuggets!
I'm not sure but what if you remove frequency[total] from that code?