Accessible Apps, Part 2 Problems

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6

Create a Thermostat: Features

In the last of three thermostat apps, add an "I'm Feeling Lucky" button to the app. This button should set the temperature to a random temperature between 60 and 90 degrees.

Start by adding the button and setting its behavior. Then add to the behavior so that if the new button is selected, it sets the temperature to a random value between 60 and 90. Once you have completed your program, make sure it runs. Then test each button. If your tests show there is a problem in the logic, try to find and correct the mistake.

Coding:

Blocks

PreviousNext