C++
Create the second part of a Rock, Paper, Scissors game. Alter lab 6 so that the user keeps playing as long as they enter in 'Y'. Make this case sensitve; if they enter in lower case y the game will not continue. If the user enters in anything besides upper case Y the game will end.
Your text must exatly match the examples below:
Example 1 with correct input:
Let's play Rock, Paper, Scissors
Enter 1 for rock, 2 for paper, 3 for scissors
2
You chose paper
Would you like to play again (Y for yes, N for no)?
Y
Enter 1 for rock, 2 for paper, 3 for scissors
1
You chose rock
Would you like to play again (Y for yes, N for no)?
N
Example 2 with incorrect input:
Let's play Rock, Paper, Scissors
Enter 1 for rock, 2 for paper, 3 for scissors
5
5 is not a valid choice
Would you like to play again (Y for yes, N for no)?
y