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 1- 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 -(R)ock (P)aper & (S)cissors to represent 1-3 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 1-3 after the player makes his choice.
Record all wins, ties and losses in their respective Vectors
Play until someone scores 5 wins
 Lab 1- Enumerations & Conditional operators What are Enumerations? What is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!