Project #23241 - could you help me with my homework

Create the second part of a Rock, Paper, Scissors game.  Alter lab 6 so that the user keeps playing as long as they enter in 'Y'.  Make this case sensitve; if they enter in lower case y the game will not continue.  If the user enters in anything besides upper case Y the game will end. 

Your text must exatly match the examples below:

Example 1 with correct input:

Let's play Rock, Paper, Scissors

Enter 1 for Rock, 2 for Paper, 3 for Scissors

2

You chose paper

Would you like to play again (Y for yes, N for no)?

Y

Enter 1 for Rock, 2 for Paper, 3 for Scissors

1

You chose rock

Would you like to play again (Y for yes, N for no)?

N

Example 2 with incorrect input:

Let's play Rock, Paper, Scissors

Enter 1 for Rock, 2 for Paper, 3 for Scissors

5

5 is not a valid choice

Would you like to play again (Y for yes, N for no)?

y

 

 

 

 

----------------------------------------------------------------------------------------------------------------

Create a program that asks the user what number they want the program to count up to.  Have the program count from 1 to the number entered.  Then have the program count down from the number entered to 1.


What do you want me to count up to?

10

Up to 10

1

2

3

4

5

6

7

8

9

10


Now back to 1

10

9

8

7

6

5

4

3

2

1

Subject Computer
Due By (Pacific Time) 02/19/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