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.
This is a discussion on Help me plz with the following problem. within the C Programming forums, part of the General Programming Boards category; I must use "rand" to roll two dices. The sum of the two values should then be calculated. The dice ...
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.
Hope is the first step on the road to disappointment.