Posts
 
Reputation
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
~169 People Reached
Favorite Forums
Favorite Tags
c++ x 1
c x 1

1 Posted Topic

Member Avatar for Dontah

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 …

Member Avatar for grantyp2
0
169

The End.