Question: 1. Create a JAVA program that will play rocks, papers, scissors, with the user. The user will input a string, like rock, and the computer

1. Create a JAVA program that will play rocks, papers, scissors, with the user. The user will input a string, like rock, and the computer will compare it to the one it randomly chose. It should display the winner and keep track of the score. There should be a cheat code, like tnt that will beat the computer every time. The user input should be checked to make sure it is valid. If not, the user should be prompted to reenter. 2. Use 2 nested for loops and if statements to create the following star patterns (DO NOT just output the pattern.). The outer for loop runs the rows the inner for loop runs the columns. Make the loop go from 0 to 9 and use the if to decide whether to show a * or . ********** ********* ******** ******* ****** ***** **** *** ** * * ********** ** ********* *** ******** **** ******* ***** ****** ****** ***** ******* **** ******** *** ********* ** ********** * * *** ***** ******* ********* ********* ******* ***** *** * 3. Create a which way story. A which way story allows the user to make decisions that will affect the outcome of the story. Your story should start out with a few lines telling the user the beginning of a story. At some point the user should get to choose which path they want the character to take. This path should lead to another part of the story along with another choice. The story should have 10 possible sections to travel to. (You really should write out the story and the flow before you start coding. If you dont, you are going to get lost with the if statements and loops.... PLAN IT OUT)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!