Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C/C++ ROCK PAPER SCISSORS LAB REPORT 1) Enter your name, student ID, platform (Mac or PC) and date Name and Student ID: Class: CISOS4 CIC++

image text in transcribed
image text in transcribed
C/C++ ROCK PAPER SCISSORS LAB REPORT 1) Enter your name, student ID, platform (Mac or PC) and date Name and Student ID: Class: CISOS4 CIC++ Programming Platform (Mac or PC): OBJECTIVES: Input player inputs using cout/cin (for C++) or printfscanf (for C) Use nested ifelse if else statements to determine the outcome of the Identify illegal inputs from the user and display an error message Use a while loop to repeat the game DESCRIPTION: Chapter 3 Programming Project #1 (page 170 8th Edition, page 172 9th Edition) Write a program to score the rock-paper-scissor game. Each of two users types in either R,P, or S. The program then announces the winner as well as the basis for determining the winner: Paper covers rock, Rock breaks scissors, Scissors cut paper, or Nobody wins. Be sure to allow the user to use lowercase as well as uppercase letters. Your program should include a loop that lets the user play again until the user says she or he is done. 2) Determine the Inputs, Processing and Outputs before creating the INPUTS ram PROCESSING UTPUT e English pscude-code here. De not paste the precessing sectien your C++ pregram in this table 3) Fill in the EXPECTED& ACTUAL RESULTS EXPECTED RESULTACTUAL RESULT omputed values before the program Fall in the output displayed DATA VALU 1 Player 2 C/C++ ROCK PAPER SCISSORS LAB REPORT 1) Enter your name, student ID, platform (Mac or PC) and date Name and Student ID: Class: CISOS4 CIC++ Programming Platform (Mac or PC): OBJECTIVES: Input player inputs using cout/cin (for C++) or printfscanf (for C) Use nested ifelse if else statements to determine the outcome of the Identify illegal inputs from the user and display an error message Use a while loop to repeat the game DESCRIPTION: Chapter 3 Programming Project #1 (page 170 8th Edition, page 172 9th Edition) Write a program to score the rock-paper-scissor game. Each of two users types in either R,P, or S. The program then announces the winner as well as the basis for determining the winner: Paper covers rock, Rock breaks scissors, Scissors cut paper, or Nobody wins. Be sure to allow the user to use lowercase as well as uppercase letters. Your program should include a loop that lets the user play again until the user says she or he is done. 2) Determine the Inputs, Processing and Outputs before creating the INPUTS ram PROCESSING UTPUT e English pscude-code here. De not paste the precessing sectien your C++ pregram in this table 3) Fill in the EXPECTED& ACTUAL RESULTS EXPECTED RESULTACTUAL RESULT omputed values before the program Fall in the output displayed DATA VALU 1 Player 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions