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!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images