javascript: var playerNum = prompt('Rock, Paper, Or Scissors?\n\n1 - Rock\n2 - Paper\n3 - Scissiors%27);var computerNum = Math.floor(Math.random() * 3) + 1;switch(playerNum) { case %271%27: var playerChoice = %27Rock%27; break; case %272%27: var playerChoice = %27Paper%27; break; case %273%27: var playerChoice = %27Scissors%27; break; default: alert(%27Incorrect Input! %27); break;}alert(%27Computer Is Choosing...%27);switch(computerNum) { case 1: var computerChoice = %27Rock%27; break; case 2: var computerChoice = %27Paper%27; break; case 3: var computerChoice = %27Scissors%27; break;}if (playerNum == 1) { if (computerNum == 1) { alert(%27Tie!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 2) { alert(%27You lost!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 3) { alert(%27You Won!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); }}if (playerNum == 2) { if (computerNum == 1) { alert(%27You Won!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 2) { alert(%27Tie!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 3) { alert(%27You Lost!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); }} if (playerNum == 3) { if (computerNum == 1) { alert(%27You Lost!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 2) { alert(%27You Won!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 3) { alert(%27Tie!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); }}