Question: Lab 1 - Enumerations & Conditional operators What are Enumerations? What is their default data type? How can they make code more readable? Cite your
Lab Enumerations & Conditional operators
What are Enumerations? What is their default data type? How can they make
code more readable? Cite your sources.
What are Conditional Operators?
Using Enums Rock Paper & Scissors to represent choices,
Create a game Rock, Paper, Scissors and play against the computer.
Prompt the user to enter their choice but Protect against invalid data.
The computer will randomly choose after the player makes his choice.
Record all wins, ties and losses in their respective Vectors
Play until someone scores wins
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
