Play the rock paper scissors game two players enter either


Play the rock paper scissors game. Two players enter either rock, paper, or scissors and the winner is determined as follows:

paper covers rock

rock breaks scissors

scissors cut paper.

DO NOT display the inputs until after both players have entered.

For example:

PLAYER 1: Enter (R)ock, (P)aper, or (S)cissors:
PLAYER 2: Enter (R)ock, (P)aper, or (S)cissors:
Player 1 chooses R and player 2 chooses S
Rock breaks scissors
Player 1 wins!

Solution Preview :

Prepared by a verified Expert
Business Management: Play the rock paper scissors game two players enter either
Reference No:- TGS02787212

Now Priced at $10 (50% Discount)

Recommended (90%)

Rated (4.3/5)