Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #107.70K
1 Posted Topic
I think the problem lies in your playingSP function, specifically with the switch case setup. It works when player 1 enters their selection as it is captured by scanf and is captured as a char, where as player2's selection is a random number generated by 'numgen' which sets your int …
The End.
grantyp2