Project #22889 - could you do my exam

Description:

The purpose of this exercise is to give you an opportunity to practice using Cin to handle user keyboard inputs, use branching statements to control the flow of a program, and work on your C++ programming style.

In this exercise, you will implement a rock-paper-scissors game. The computer will select rock, paper, or scissors randomly (and of course not reveal this selection to the player). The player will then enter 1 for Rock, 2 for Paper, or 3 for Scissor for her or his selection. Then the program will let the player know if she or he won. At the end of each round, allow the player to choose whether or not she or he wants to continue playing.

You must implement/include the following features in addition to the game play:

-keep count of the number of times the player won and lost -- when the player chooses to stop playing, display these counts

-keep a count of the number of times the player selects to play rock, scissors, and paper 
-implement the computer's selection as a random integer 

Objectives:
-work on your C++ programming style
-use boolean expressions
-use branching statements to control the flow of a program

Requirements:
-your program source code must be documented correctly (see the starter.cpp example) [5 points]
-your program source code must be neatly and consistently formatted (see the starter.cpp example) [5 points]
-your program must compile and run without errors [10 points]
-use Cin to handle all user keyboard inputs [10 points]
-use at least one (1) switch statement and one (1) if statement in your program [10 points]
-your program must provide the features described above:
-computer generates a random selection, as an integer [5 points]
-prompt for and read in the player's selection [5 points]
-compare the player's selection to the computer's selection [5 points]
-display an appropriate message to the player to let them know whether they won or lost [5 points]
-keep a count of the number of times the player selects to play rock, scissors, and paper [5 points]
-prompt for and read in the player's choice about playing another round [5 points]
-at the end of play, display the number of player wins and losses [5 points]

- pseudocode [25 points]


Extra Credit

- Out of all the games played let the player know who was the overall winner (computer or player).  Also what the winning object (what object did the winner have the most wins with). +5 points

-Tell the player what they should have chosen to win most of the time.  For example, if the computer chose rock 7 out of the 10 times then the player should have chosen rock to win most of the time.  +5 points

attach your .cpp file
hand in your pseudocode

Subject Computer
Due By (Pacific Time) 02/14/2014 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy