14 Reputation Points
Ranked #2K
- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #36.9K
I was trying to create a program that simulates tossing a coin to a user specified number of times and then say how many times heads appeared. However when i run my program it only seems to be looping once. [ICODE]//generates a random number 1-10 int rdom_gen() { srand((unsigned)time(0)); int … |