Temprature Control

Can any One Help me to write programming for this Condition:

if temperature reaches 80 degrees, turn device on until temperature reaches 70 degrees. Then don't turn back on until temperature reaches 80 degrees again.

:sob:

Do a search for "arduino program hysteresis". There are numerous examples that can be converted to temperature control.