Applying Conditionals
21.1 _ “Guess My Number”
View the Model: . You Tube & The Grade Sheet.
Goal: the 1st Player enters a number from 1-10 and the 2nd Player has to guess what the number is.
!Read all of the Hints on the Gradesheet for help in writing this program!
21.2 _ “Guess Higher or Lower”
View the Model: . You Tube & The Grade Sheet.
Goal: This game will alert Player #2 if they need to guess higher or lower.
Note: You do not need to write this code as a separate program…just add it directly into 1. “Guess My Number.”
21.3 _ “Guess Your Age”
View the Model: . You Tube & The Grade Sheet. I am providing you with the code below - use it to create the “Guess Your Age” game. Colored code is provided online for you – this might be easier to read!!
Note: The user’s age is ‘51’ in the model.
Goal: after you get "Guess Your Age" to function correclty, you need to explain how each line of code works. I recommend you use your own age and with pencil and paper follow the program and see if you get your age.