Years 7–8 students are set a design challenge to create a program to automatically switch on an air conditioner.