Positive or Negative: a coding challenge in World 2

Winter is coming to Decision Castle, and the thermometer can drop below zero!