<prompt> Write an IF-THEN statement to control the temperature in a room.  <response>: IF the temperature in the room rises above 24C, THEN turn on the air conditioner to decrease the temperature until it reaches a comfortable level of 22C. 