Explore BrainMass

Paper Rock Scissors game in C

Modify the attached program to not just say you won, lost, or tied but to say how, no matter if you win, lose, or tie.

For example,

You chose paper and I chose rock. You win.
You chose rock and I chose paper. You lose.


Solution Summary

Definition, prototype and call for function "report" have been modified to achieve the goal, apart from adding a new function to deal with choice names.