CIS 1275 C++ Programming Part I Program 5 Rock, Paper Scissors You should do these test cases before you start coding! Check the logic your program is using. You can use these test cases to verify that your program is giving you correct results. TestCase: Set the seed for rand as 123. First, select 1, rock. The computer selects scissors. You win. Then, select 2, paper. The computer selects rock. You win. Program says you won the game, do you want to play another? You say yes. Select 3, scissors. The computer selects rock. You lose. Your hand calculations should match your program results when these cases are run!
CIS 1275 C++
Program 5 Rock, Paper Scissors
You should do these test cases before you start coding! Check the logic your program is using. You can use these test cases to verify that your program is giving you correct results.
TestCase: Set the seed for rand as 123.
First, select 1, rock. The computer selects scissors. You win.
Then, select 2, paper. The computer selects rock. You win.
Program says you won the game, do you want to play another?
You say yes.
Select 3, scissors. The computer selects rock. You lose.
Your hand calculations should match your program results when these cases are run!
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)