Question: 3 . 1 2 . 1 : Rock - paper - scissors. Organize the lines of a switch statement that checks nextChoice. If the input
: Rockpaperscissors.
Organize the lines of a switch statement that checks nextChoice.
If the input is the output is:
Rock
If the input is the output is:
Paper
If the input is the output is:
Scissors
For any other value, output "Unknown".
How to use this tool
Unused
cout "Rock" endl;
break;
switch nextchoice
cout & "Paper" endl;
break;
cout "Unknown" endl;
case :
default:
case :
cout "Scissors" endl;
break;
case :
main.cpp
Load default template...
minclude
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
