Page 1 of 1

Write a program that plays rock, paper, scissors. This is an interactive game between two players. The sample run provid

Posted: Mon Jul 11, 2022 9:55 am
by answerhappygod
Write A Program That Plays Rock Paper Scissors This Is An Interactive Game Between Two Players The Sample Run Provid 1
Write A Program That Plays Rock Paper Scissors This Is An Interactive Game Between Two Players The Sample Run Provid 1 (36.73 KiB) Viewed 39 times
Write a program that plays rock, paper, scissors. This is an interactive game between two players. The sample run provided below represents the user interaction and the output displayed. Important Notes: 1. You can NOT use if / else statements for this assignment. Switch statements will work much better, are cleaner, and are less prone to errors. This project will give you an opportunity to practice nested switch statements. 2. Both upper- and lower-case letters should be considered. 3. Four cases for player 1: R, P, S and never forget the default case. Within each of the first three cases, there are four cases for player two. 4. Incorporate an iteration method that allows the user to play again, as many times as they like.