Write a program to score the paper-rock-scissor game


Assignment

Write a program to 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 as 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 as uppercase letters. Your program should include a loop that lets the user play again until the user says she or he is done

For this program, do not use switch statement.

Before submitting check the following:

- 5 lines of comments (don't forget partner's name)

- description completely describe the program

- description to user

- meaningful variable names (should start with lowercase letter)

- get character type input from user

- give error for incorrect input

- include basis for determining the winner

- code lineup

- indentation

- comments within the program (coding part)

- submitting cpp file only.

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Solution Preview :

Prepared by a verified Expert
Management Information Sys: Write a program to score the paper-rock-scissor game
Reference No:- TGS03017802

Now Priced at $25 (50% Discount)

Recommended (90%)

Rated (4.3/5)