Write RockPaperScissors: read the moves of player 1 and player 2 (rock, paper or scissors, in any letter case) and print the result:
Invalid move: lizardif a move is not one of the three (report player 1's move if both are invalid);Draw: both chose paper;- otherwise
Player 1 wins: rock beats scissors.
Use a switch on player 1's move to decide the winner, and boolean variables to make the conditions readable.
For the input
rock scissors
the program prints
Player 1 wins: rock beats scissors