If Statements: Number Guessing Game In this 'high-low' number guessing game, program will generate a hidden number and the user will guess a number through the UI within the given range (1 to 15). After the user guesses a number, if the guess is too high the robot will draw a leaf to the right of the flower. If the guess is too low, the robot will draw a leaf to the left of the stem. Once the user guesses the correct number, the robot will draw the head of a flower. There are three flower types to choose from.
The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees