don't know how to get started please help with this program.
rock,paper,scis sors
We will write a program that multiple games of rock, paper, scissors: keeps a cumulitive score, quits when either player enters a 'Q' and declares an overall winner.
Input: Two players enter their respective plays at the prompts. Valid input is 'R', 'P', or 'S'. The program should accept bad input with an error message.'R'...
User Profile
Collapse
-
same class project need help
i was helped with my project but when i tried to compile it it kept showing me errors and wasn't able to figure it out.
The project is:
Write an original C++ program that will take as input a character and an integer.
If the integer is even, them add one to it.
The output will be a "diamond" composed of the character and as wide as the int.
Example:
Enter a character and an integer:... -
class project
I need to know how i could right a program that will take as input a character and an integer. If the integer is even, then add one to it. Using the for loop to make the output a diamond composed of a character and as wide as the int.
e.i. Enter a character and an integer:
@ 4
@
@@
@@@
@@@@
@@@
@@
@
I...
No activity results to display
Show More
Leave a comment: