Question: this is a C++ program the program should consist of at least three functions plus main. Rock, Paper, Scissors Create a more complicated version of

this is a C++ program

the program should consist of at least three functions plus main.

Rock, Paper, Scissors

Create a more complicated version of the Rock, Paper, and Scissors game. The game must:

1) Display a clear set of instructions to the user

2) Input R, P, or S from the user. Validate the input, if incorrect continually prompt the user to re-

enter until correct. Either upper or lower case is ok.

3) Display clear output describing the outcome of the game including the user's pick, the

computer's pick and the winner,

4) Ask the user if he/she would like to play again and repeat the entire game again as necessary.

On the next page is a simple game that you can use as a start. Note that it inputs 1, 2, and 3 you need to change this to R, P, and S. Again, your version must have at least three functions.

Your program should have appropriate comments (including at least one per function) and you should use constants where appropriate. All input should be validated.

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!