Sunday, August 5, 2012

Hi LO Guessing Game

1. How many objects are referred to? What are they?
2 objects: Button 1 and Button 2

2. What is the name of the variable referred to?
Integer/Number that has to be guessed

3. What are the three text options that appear in textbox1?
'Higher', 'lower' and 'correct'

4. What do you think this code does?
This code is a guessing game where the user enters a number and the game tells them to go higher, lower, or if they're correct. The 'secretnum' is always a random number.