Untitled
public text v1 · immutableswitch(choice1){
case 'R':
case 'r':
switch(choice2){
case 'r':
case 'R':
cout << "Rock ties rock! nobody wins";
break;
case 'p':
case 'P':
cout << "paper covers rock! player2 wins";
break;
case 's':
case 'S':
cout << "rock crushes scissors. player1 wins";
break;
default:
cout << "Player 2 entered invalid input. player 1 wins by default";
break
}
break;
//This is where you want to put the other switch statements to run what happens when player1 has paper or scissors.
}