This assignment was locked 6 Oct at 23:59. You will need to submit: A copy of the Module 4 lab document with answers for the self-test exercises as specified on the lab document. Name this document...

This assignment was locked 6 Oct at 23:59.


You will need to submit:





  • A copy of the Module 4 lab document with answers for the self-test exercises as specified on the lab document. Name this document “yourlastnameSelfTest4”







  • Your completed algorithm based on the “RPSAlgorithm” document that I have provided in your module 4 download. Youmustuse this algorithm. Name this document “yourlastnameRPSAlgorithm.docx”




  • The source code for the Rock Paper Scissor program– Name this file “yourlastnameRPS.cpp




  • TEST RUN - Copy the test run output from your program and paste in to the bottom of your source code. Make each line a comment so that all you need to do is submit your source code and your output will be at the bottom of your program.






Rock, Paper, Scissors


Write a program to play and score the paper-rock-scissor game. Each of two users types in either P, R, or S. The program then announces the winner as well the basis for determining the winner: Paper covers rock, Rock breaks scissors, Scissors cut paper, or Nobody wins.


Be sure to allow the users to use lowercase as well uppercase letters. Your program should include a loop that lets the user play again until the user says she or he is done.



Test Run: Refer to the lab sheet








Comments:

You needed to submit: • A copy of this document with answers as specified above, for the self-test exercises. Name this document “yourlastnameSelfTest4” • Your completed algorithm based on the “RPSAlgorithm” document that I have provided in your module 4 download. You must use this algorithm. Name this document “yourlastnameRPSAlgorithm.docx” • The source code for the Rock Paper Scissor program which must be based on your RPS algorithm – Name this file “yourlastnameRPS.cpp • TEST RUN - Copy the test run output from your program and paste in to the bottom of your source code. Make each line a comment so that all you need to do is submit your source code and your output will be at the bottom of your program.
Oct 28, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here