Codington
0 of 10 problems solved • 0%
Use in a course

Exercise prompt

Repair a Temperature Branch

The starter displays Warm for a temperature of 14. Its comparison selects the wrong branch.

Your task

Repair only the condition so temperatures of 20 or more display Warm, and lower temperatures display Cold. The current console should display Cold.