I must use "rand" to roll two dices. The sum of the two values should then be calculated. The dice should be rolled 36,000 times. Then I must use tally marks to count the times that each possible sum appears.
Printable View
I must use "rand" to roll two dices. The sum of the two values should then be calculated. The dice should be rolled 36,000 times. Then I must use tally marks to count the times that each possible sum appears.
Here's a thought:
No one wants to read some random (pun not intended) code and try and figure out what the problem is. If there is a problem with your code, then tell us what it is doing wrong, or what it isn't doing, and what errors, if any, you are getting. No one wants to just download and compile some random crap and debug it.
Quzah.