c++Play the rock paper scissors game. Two players enter either rockpaperscissors , , or and the winner is determined as follows: paper covers rock rock breaks scissors scissors cut paper. Ask the...


c++Play the rock paper scissors game. Two players enter either rockpaperscissors


, , or and the winner is determined as follows:


paper covers rock


rock breaks scissors


scissors cut paper.


Ask the user if s/he wants to play again. BE SURE to include a function called
play
as shown in the template.


Sample run:


Play rock, paper, scissors


Player 1: rock


Player 2: paper


Player 2 wins -- Paper covers rock




Do you want to continue? (yes or no): yes


Player 1: scissors


Player 2: rock


Player 2 wins -- Rock breaks scissors




Do you want to continue? (yes or no): no





May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here