Question: You are tasked with creating a simple 'Rock Paper Scissors' game, but with a little twist! You are not allowed to use string ( other

You are tasked with creating a simple 'Rock Paper Scissors' game, but with a little twist! You are not allowed to use string (other than with std: :cout) or char in your code.
To help you with this problem, you are given a RandNumGen function that randomly generates (and returns)1,2, or 3 when called.Below is an example of how your program should behave:Enter 1(Rock),2(Paper), or 3(Scissors): 2You picked: PaperThe computer picked: RockYou win!
General Instructions:
When writing your program, you may only use concepts you have learned in the course thus far, with the exception of string and char.
Your program should compile and run. You can assume the input will be 1,2, or 3.
 You are tasked with creating a simple 'Rock Paper Scissors' game,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!